Method: Echowrap::Client#initialize
- Defined in:
- lib/echowrap/client.rb
#initialize(options = {}) ⇒ Echowrap::Client
Initializes a new Client object
29 30 31 32 33 |
# File 'lib/echowrap/client.rb', line 29 def initialize(={}) Echowrap::Configurable.keys.each do |key| instance_variable_set(:"@#{key}", [key] || Echowrap.instance_variable_get(:"@#{key}")) end end |