Class: FullContact::API

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

Direct Known Subclasses

Client

Instance Method Summary collapse

Methods included from Request

#get

Constructor Details

#initialize(options = {}) ⇒ API

Creates a new API



11
12
13
14
15
16
# File 'lib/fullcontact/api.rb', line 11

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