Class: Dacom::ReportClient
- Inherits:
-
EventClient
- Object
- Client
- EventClient
- Dacom::ReportClient
- Defined in:
- lib/dacom/client.rb
Constant Summary
Constants inherited from Client
Instance Attribute Summary
Attributes inherited from Client
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ ReportClient
constructor
A new instance of ReportClient.
Methods inherited from Client
Methods included from Constants
Constructor Details
#initialize(options = {}) ⇒ ReportClient
Returns a new instance of ReportClient.
184 185 186 187 188 189 |
# File 'lib/dacom/client.rb', line 184 def initialize( = {}) @status = .fetch(:status) { fail ArgumentError, "missing status" } @message = .fetch(:message) { fail ArgumentError, "missing message" } super() @endpoint = @config.aux_url end |