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

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

Constant Summary collapse

LIST_SHIPPING_COUNTRIES =
'/orders/shipping/countries'.freeze

Class Method Summary collapse

Methods included from Endpoint

build_endpoint, routes

Methods included from Request

delete, get, patch, post, put, request

Class Method Details

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



11
12
13
# File 'lib/plenty_client/order/shipping/country.rb', line 11

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