Class: DTK::Common::Response::Error
- Inherits:
-
DTK::Common::Response
- Object
- Hash
- DTK::Common::Response
- DTK::Common::Response::Error
- Includes:
- ErrorMixin
- Defined in:
- lib/response.rb
Constant Summary
Constants included from DTK::Common::ResponseTokens
DTK::Common::ResponseTokens::DataField, DTK::Common::ResponseTokens::ErrorsField, DTK::Common::ResponseTokens::ErrorsOriginalException, DTK::Common::ResponseTokens::ErrorsSubFieldCode, DTK::Common::ResponseTokens::GenericError, DTK::Common::ResponseTokens::StatusField, DTK::Common::ResponseTokens::StatusNotok, DTK::Common::ResponseTokens::StatusOK, DTK::Common::ResponseTokens::ValidationField
Instance Method Summary collapse
-
#initialize(hash = {}) ⇒ Error
constructor
A new instance of Error.
Methods included from ErrorMixin
Methods inherited from DTK::Common::Response
#add_data_value!, #data, #data_hash_form, #data_ret_and_remove!, #error_message, #ok?, #set_data, #set_data_hash, #validation_actions, #validation_message, #validation_response?
Constructor Details
#initialize(hash = {}) ⇒ Error
Returns a new instance of Error.
145 146 147 |
# File 'lib/response.rb', line 145 def initialize(hash={}) super(hash) end |