Class: Jibeset::API
- Inherits:
-
Object
- Object
- Jibeset::API
- Includes:
- Connection, OAuth, Request
- Defined in:
- lib/jibeset/api.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ API
constructor
Creates a new API.
Methods included from OAuth
#authorize_url, #get_access_token
Methods included from Request
Constructor Details
#initialize(options = {}) ⇒ API
Creates a new API
12 13 14 15 16 17 |
# File 'lib/jibeset/api.rb', line 12 def initialize(={}) = Jibeset..merge() Configuration::VALID_OPTIONS_KEYS.each do |key| send("#{key}=", [key]) end end |