Class: Hover::Client::Manowar
- Defined in:
- lib/hover/client/manowar.rb
Instance Attribute Summary
Attributes inherited from HMAC
Attributes inherited from HTTP
Instance Method Summary collapse
Methods inherited from Hover
#json_delete, #json_get, #json_patch, #json_post, #json_put
Methods inherited from HMAC
Methods inherited from HTTP
#authenticate, #delete, #get, #get_redirect_location, #initialize, #make_form_request, #make_request, #make_uri, #parse_response, #patch, #post, #put, #raise_errors, #raise_errors_for_cloudfront_response
Constructor Details
This class inherits a constructor from Hover::Client::HMAC
Instance Method Details
#order_results(order_id) ⇒ Object
11 12 13 |
# File 'lib/hover/client/manowar.rb', line 11 def order_results(order_id) json_get("orders/#{order_id}/results.json") end |
#submit_order(parameters = {}) ⇒ Object
7 8 9 |
# File 'lib/hover/client/manowar.rb', line 7 def submit_order(parameters = {}) json_post('orders.json', parameters) end |