Class: Myparcel::API::DeliveryOptions
- Defined in:
- lib/myparcel/api/delivery_options.rb
Overview
Class for getting delivery options
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Myparcel::API::Base
Instance Method Details
#find(options = {}) ⇒ Object
5 6 7 8 9 10 |
# File 'lib/myparcel/api/delivery_options.rb', line 5 def find( = {}) = {} [:query] = response = request :get, 'delivery_options', response['data']['delivery'] end |