module Epages::REST::ShippingMethods
implement the calls in developer.epages.com/apps/api-reference/resource-shipping-method.html
Public Instance Methods
shipping_method(object, options = {})
click to toggle source
implements the call developer.epages.com/apps/api-reference/get-shops-shopid-shipping-methods-shippingmethodid.html
# File lib/epages/rest/shipping_methods.rb, line 16 def shipping_method(object, options = {}) id = epages_id(object) perform_get_with_object("/shipping-methods/#{id}", options, Epages::ShippingMethod) end
shipping_methods(options = {})
click to toggle source
implements the call developer.epages.com/apps/api-reference/get-shops-shopid-shipping-methods.html
# File lib/epages/rest/shipping_methods.rb, line 11 def shipping_methods(options = {}) perform_get_with_objects('/shipping-methods', options, Epages::ShippingMethod) end