Class: PlentyClient::Order::Shipping::Country

Inherits:
Object
  • Object
show all
Includes:
Endpoint, Request
Defined in:
lib/plenty_client/order/shipping/country.rb

Constant Summary collapse

LIST_SHIPPING_COUNTRIES =
'/orders/shipping/countries'

Class Method Summary collapse

Methods included from Request

included

Methods included from Endpoint

included

Class Method Details

.list(headers = {}, &block) ⇒ Object



13
14
15
# File 'lib/plenty_client/order/shipping/country.rb', line 13

def list(headers = {}, &block)
  get(build_endpoint(LIST_SHIPPING_COUNTRIES), headers, &block)
end