Class: DroneApi::Accounts::Show

Inherits:
Base
  • Object
show all
Defined in:
lib/drone_api/accounts/show.rb

Instance Attribute Summary

Attributes inherited from Base

#account_id, #client_id, #client_secret, #response_data, #response_status

Instance Method Summary collapse

Methods inherited from Base

#env_url, #errors, #execute, #initialize, #is_form_request?, #make_request, #parse_payload, #process_request, #query_params, #request, #requires_authentication?, #response, #set_auth_header, #valid?, #validate

Constructor Details

This class inherits a constructor from DroneApi::Base

Instance Method Details

#process_response(response) ⇒ Object



3
4
5
# File 'lib/drone_api/accounts/show.rb', line 3

def process_response response
  @response_data = JSON.parse(response)
end