Method: RepsClient::Client#initialize
- Defined in:
- lib/reps_client/client.rb
#initialize(options = {}) ⇒ Client
Initializes the client.
By default, the new client instance will take all of its configuration values from the module-level configuration, but these can be overridden at the client-level.
91 92 93 94 95 |
# File 'lib/reps_client/client.rb', line 91 def initialize(={}) self.debug = nil self.logger = nil .each { |k,v| self.send("#{k}=", v) if self.respond_to?("#{k}=") } end |