Created
October 7, 2019 19:02
-
-
Save coldfumonkeh/6f7f534edf3ac06b44dac982abcd5da6 to your computer and use it in GitHub Desktop.
This file contains 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
component extends="taffy.core.resource" taffy_uri="/artists" { | |
/** | |
* Makes the GET request | |
* | |
* @limit The maximum number of records to return per call. Defaults to 5 | |
* @offset The number of records to skip when making the request *used for pagination) | |
*/ | |
function get( | |
numeric limit = 5, | |
numeric offset = 0 | |
){ | |
return rep( { | |
'data': [], | |
'params': { | |
'limit' : arguments.limit, | |
'offset': arguments.offset | |
} | |
} ); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment