Class: Kloxo::API::Response
- Inherits:
-
Object
- Object
- Kloxo::API::Response
- Defined in:
- lib/kloxo/api/response.rb
Direct Known Subclasses
Client::AddBandwidthResponse, Client::AddDomainResponse, Client::ChangePasswordResponse, Client::ChangePlanResponse, Client::CreateResponse, Client::DeleteDomainResponse, Client::DeleteResponse, Client::DisableResponse, Client::EnableResponse, Client::InfoResponse, ResourceResponse
Instance Method Summary collapse
- #body ⇒ Object
-
#initialize(response) ⇒ Response
constructor
A new instance of Response.
Constructor Details
#initialize(response) ⇒ Response
Returns a new instance of Response.
5 6 7 8 |
# File 'lib/kloxo/api/response.rb', line 5 def initialize response @response = response end |
Instance Method Details
#body ⇒ Object
10 11 12 |
# File 'lib/kloxo/api/response.rb', line 10 def body @response.body end |