Class: ServiceErrorResponse

Inherits:
ServiceStatusResponse show all
Defined in:
lib/src/ServiceStatusResponse.rb

Instance Attribute Summary

Attributes inherited from ServiceStatusResponse

#message, #state

Instance Method Summary collapse

Methods inherited from ServiceStatusResponse

create

Constructor Details

#initialize(message) ⇒ ServiceErrorResponse

Returns a new instance of ServiceErrorResponse.



30
31
32
# File 'lib/src/ServiceStatusResponse.rb', line 30

def initialize(message)
  super(message, state=:error)
end