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