Method: DCMClient::Connection#initialize
- Defined in:
- lib/dcm_client/connection.rb
#initialize(opts = {}) ⇒ Connection
Returns a new instance of Connection.
20 21 22 23 24 25 |
# File 'lib/dcm_client/connection.rb', line 20 def initialize(opts={}) self.username = opts[:username] self.password = opts[:password] self.api_root = opts[:api_root] self.logger = opts[:logger] end |