Module: PlentyClient::Warehouse::Location::Level
- Extended by:
- Concerns::RestRoutes
- Includes:
- Request
- Defined in:
- lib/plenty_client/warehouse/location/level.rb
Constant Summary collapse
- LIST_URL =
'/warehouses/%<warehouse_id>d/locations/levels'
Class Method Summary collapse
Methods included from Concerns::RestRoutes
create, destroy, find, list, skip_rest_routes, update
Methods included from Request
Class Method Details
.list(warehouse_id, body = {}, &block) ⇒ Object
14 15 16 |
# File 'lib/plenty_client/warehouse/location/level.rb', line 14 def list(warehouse_id, body = {}, &block) get(format(LIST_URL, warehouse_id: warehouse_id), body, &block) end |