Class: SFPark::Client

Inherits:
Object
  • Object
show all
Includes:
Availability, Connection, Request
Defined in:
lib/sfpark/client.rb,
lib/sfpark/client/availability.rb

Defined Under Namespace

Modules: Availability

Instance Method Summary collapse

Methods included from Availability

#availability

Methods included from Request

#get

Constructor Details

#initialize(options = {}) ⇒ Client

Returns a new instance of Client.



10
11
12
13
14
15
# File 'lib/sfpark/client.rb', line 10

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