Class: DTK::Network::Client::Response::ErrorResponse::Internal

Inherits:
DTK::Network::Client::Response::ErrorResponse show all
Defined in:
lib/client/response/response_types.rb

Instance Method Summary collapse

Methods inherited from DTK::Network::Client::Response

#notok?, wrap_as_response

Constructor Details

#initialize(hash = {}) ⇒ Internal

Returns a new instance of Internal.



35
36
37
# File 'lib/client/response/response_types.rb', line 35

def initialize(hash = {})
  super({'code' => 'error'}.merge(hash).merge('internal' => true))
end