Class: DTK::Network::Client::Response::NotOk
- Inherits:
-
DTK::Network::Client::Response
- Object
- Common::Response
- DTK::Network::Client::Response
- DTK::Network::Client::Response::NotOk
- Defined in:
- lib/client/response/response_types.rb
Instance Method Summary collapse
-
#initialize(data = {}) ⇒ NotOk
constructor
A new instance of NotOk.
Methods inherited from DTK::Network::Client::Response
Constructor Details
#initialize(data = {}) ⇒ NotOk
Returns a new instance of NotOk.
10 11 12 |
# File 'lib/client/response/response_types.rb', line 10 def initialize(data = {}) super('data'=> data, 'status' => 'notok') end |