Class: DroneApi::Clients::Create
- Defined in:
- lib/drone_api/clients/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
17 18 19 |
# File 'lib/drone_api/clients/create.rb', line 17 def process_response response @response_data = JSON.parse(response) end |