Class: Orkut::API
- Inherits:
-
Object
- Object
- Orkut::API
- Includes:
- Authenticatable, Connection, Request
- Defined in:
- lib/orkut/api.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ API
constructor
Creates a new API.
Methods included from Request
#delete_v1, #execute, #get_refresh_access_token, #get_v1, #head_v1, #post_v1, #put_v1, #verify_path
Methods included from Connection
#authorization_uri, #get_connection_hash
Methods included from Authenticatable
#authenticated?, #authenticated_v1?, #credentials, #credentials_v1
Constructor Details
#initialize(options = {}) ⇒ API
Creates a new API
15 16 17 18 19 20 |
# File 'lib/orkut/api.rb', line 15 def initialize(={}) = Orkut..merge() Config::VALID_OPTIONS_KEYS.each do |key| send("#{key}=", [key]) end end |