Method: Wdt::Client#initialize

Defined in:
lib/wdt/client.rb

#initialize(options = {}) ⇒ Client

Creates a new API



17
18
19
20
21
22
# File 'lib/wdt/client.rb', line 17

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