Class: Chute::Client
- Inherits:
-
Object
- Object
- Chute::Client
- Defined in:
- lib/chute/client.rb
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Client
constructor
A new instance of Client.
Constructor Details
#initialize(options = {}) ⇒ Client
29 30 31 32 33 34 35 36 37 38 39 |
# File 'lib/chute/client.rb', line 29 def initialize(={}) # Merge the config values from the module and those passed # to the client. = Chute..merge() # Copy the merged values to this client and ignore those # not part of our configuration Configuration::VALID_CONFIG_KEYS.each do |key| send("#{key}=", [key]) end end |