Class: AngellistApi::API

Inherits:
Object
  • Object
show all
Includes:
Authentication, Connection, Request
Defined in:
lib/angellist_api/api.rb

Direct Known Subclasses

Client

Instance Method Summary collapse

Methods included from Request

#delete, #get, #post

Constructor Details

#initialize(options = {}) ⇒ API

Creates a new API



15
16
17
18
19
20
# File 'lib/angellist_api/api.rb', line 15

def initialize(options={})
  options = AngellistApi.options.merge(options)
  Configuration::VALID_OPTIONS_KEYS.each do |key|
    send("#{key}=", options[key])
  end
end