Module: Voog::API::ProductWidgets
- Included in:
- Client
- Defined in:
- lib/voog_api/api/product_widgets.rb
Overview
Voog Product Widgets API methods.
Instance Method Summary collapse
-
#product_widget(id, params = {}) ⇒ Object
Get a single product_widget.
-
#product_widgets(params = {}) ⇒ Object
List product_widgets.
-
#update_product_widget(id, data) ⇒ Object
Update a product_widget.
Instance Method Details
#product_widget(id, params = {}) ⇒ Object
Get a single product_widget
19 20 21 |
# File 'lib/voog_api/api/product_widgets.rb', line 19 def (id, params = {}) get "product_widgets/#{id}", {query: params} end |
#product_widgets(params = {}) ⇒ Object
List product_widgets
12 13 14 |
# File 'lib/voog_api/api/product_widgets.rb', line 12 def (params = {}) paginate 'product_widgets', {query: params} end |
#update_product_widget(id, data) ⇒ Object
Update a product_widget
26 27 28 |
# File 'lib/voog_api/api/product_widgets.rb', line 26 def (id, data) put "product_widgets/#{id}", data end |