Last active
December 20, 2015 07:19
-
-
Save vendethiel/6092964 to your computer and use it in GitHub Desktop.
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
class @MediaItemsAPI | |
constructor: (options = {}) -> | |
console.log this.options | |
# this.options = _.extend this.options, options | |
if not this.key? and not this.options.key? | |
Meteor.Erros.throw "No API key has been set. Please set and API key and try again." | |
@key = options.key | |
@services = options.services | |
@extensions = options.extensions |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment