Created
October 4, 2012 18:34
-
-
Save bittersweetryan/3835502 to your computer and use it in GitHub Desktop.
real world partial
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<cfscript> | |
private Function function makeFilingGetter(Any filing, | |
String password, | |
String username, | |
String filingEndpoint, | |
String attachmentEndpoint){ | |
return function(String entity, String filter, String fields){ | |
return filing.getFilings(username, | |
password, | |
arguments.entity, | |
filingEndpoint, | |
attachmentEndpoint, | |
"*", | |
arguments.filter, | |
"#variables.attachmentPath#", | |
javaCast("String[]",listToArray(trim(arguments.fields)))); | |
}; | |
} | |
</cfscript> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment