Class: ShippingEasy::Http::PartnerRequest
- Defined in:
- lib/shipping_easy/http/partner_request.rb
Instance Attribute Summary
Attributes inherited from Request
#body, #http_method, #params, #relative_path
Instance Method Summary collapse
Methods inherited from Request
#adapter, #base_url, connect!, #connect!, #initialize, #sign_request!, #signature
Constructor Details
This class inherits a constructor from ShippingEasy::Http::Request
Instance Method Details
#api_key ⇒ Object
11 12 13 |
# File 'lib/shipping_easy/http/partner_request.rb', line 11 def api_key ShippingEasy.partner_api_key end |
#api_secret ⇒ Object
7 8 9 |
# File 'lib/shipping_easy/http/partner_request.rb', line 7 def api_secret ShippingEasy.partner_api_secret end |
#uri ⇒ Object
3 4 5 |
# File 'lib/shipping_easy/http/partner_request.rb', line 3 def uri "/partners/api#{relative_path}" end |