Class: Pipedriver::Client
- Inherits:
-
Object
- Object
- Pipedriver::Client
- Defined in:
- lib/pipedriver/client.rb
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Client
constructor
A new instance of Client.
Constructor Details
#initialize(options = {}) ⇒ Client
Returns a new instance of Client.
7 8 9 10 11 12 13 14 15 16 17 |
# File 'lib/pipedriver/client.rb', line 7 def initialize(={}) # Merge the config values from the module and those passed # to the client. = Pipedriver..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 |