Class: DroneApi::Accounts::Create
- Defined in:
- lib/drone_api/accounts/create.rb
Defined Under Namespace
Classes: Params
Instance Attribute Summary
Attributes inherited from Base
#account_id, #client_id, #client_secret, #response_data, #response_status
Instance Method Summary collapse
-
#initialize(params = {}) ⇒ Create
constructor
A new instance of Create.
- #process_response(response) ⇒ Object
Methods inherited from Base
#env_url, #errors, #execute, #is_form_request?, #make_request, #parse_payload, #process_request, #query_params, #request, #requires_authentication?, #response, #set_auth_header, #valid?
Constructor Details
Instance Method Details
#process_response(response) ⇒ Object
16 17 18 |
# File 'lib/drone_api/accounts/create.rb', line 16 def process_response response @response_data = JSON.parse(response) end |