Class: DTK::Network::Client::Response::ErrorResponse::Internal
- Inherits:
-
DTK::Network::Client::Response::ErrorResponse
- Object
- Common::Response
- DTK::Network::Client::Response
- DTK::Network::Client::Response::ErrorResponse
- DTK::Network::Client::Response::ErrorResponse::Internal
- Defined in:
- lib/client/response/response_types.rb
Instance Method Summary collapse
-
#initialize(hash = {}) ⇒ Internal
constructor
A new instance of Internal.
Methods inherited from DTK::Network::Client::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 |