Module: PlentyClient::Webstore

Includes:
Endpoint, Request
Defined in:
lib/plenty_client/webstore.rb

Constant Summary collapse

LIST_WEBSTORES =
'/webstores'.freeze

Class Method Summary collapse

Methods included from Request

included

Methods included from Endpoint

included

Class Method Details

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



9
10
11
# File 'lib/plenty_client/webstore.rb', line 9

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