Class: DTK::Network::Client::Response::NotOk

Inherits:
DTK::Network::Client::Response 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(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