Class: PlentyClient::Basket::Item
- Inherits:
-
Object
- Object
- PlentyClient::Basket::Item
- Defined in:
- lib/plenty_client/basket/item.rb
Constant Summary collapse
- CREATE_BASKET_ITEM =
'/basket/items'
- LIST_BASKET_ITEMS =
'/basket/items'
Class Method Summary collapse
Methods included from Request
Methods included from Endpoint
Class Method Details
.create(body = {}) ⇒ Object
17 18 19 |
# File 'lib/plenty_client/basket/item.rb', line 17 def create(body = {}) post(CREATE_BASKET_ITEM, body) end |
.list(headers = {}, &block) ⇒ Object
13 14 15 |
# File 'lib/plenty_client/basket/item.rb', line 13 def list(headers = {}, &block) get(LIST_BASKET_ITEMS, headers, &block) end |