Class: DTK::Network::Client::Response::Ok

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 = {}) ⇒ Ok

Returns a new instance of Ok.



4
5
6
# File 'lib/client/response/response_types.rb', line 4

def initialize(data = {})
  super('data'=> data, 'status' => 'ok')
end