Method: DCMClient::Client#initialize

Defined in:
lib/dcm_client/client.rb

#initialize(opts = {}) ⇒ Client

Create and return a new client with an established connection to DCM.

:username
:password
:api_root - fully-qualified root URL to DCM, including protocol and (optional) port.


15
16
17
# File 'lib/dcm_client/client.rb', line 15

def initialize(opts={})
  @connection = Connection.new(opts)
end