Sha256: ee4004e4d4b31babf93a5aed7a030195a387ddeb17bd69cdee5a57c928d85ee5
Contents?: true
Size: 898 Bytes
Versions: 2
Compression:
Stored size: 898 Bytes
Contents
module Voog class API # Voog Product Widgets API methods. # # @see https://www.voog.com/developers/api/resources/product_widgets module ProductWidgets # List product_widgets # # @see https://www.voog.com/developers/api/resources/product_widgets#get_product_widgets def product_widgets(params = {}) paginate 'product_widgets', {query: params} end # Get a single product_widget # # @see https://www.voog.com/developers/api/resources/product_widgets#get_product_widget def product_widget(id, params = {}) get "product_widgets/#{id}", {query: params} end # Update a product_widget # # @see https://www.voog.com/developers/api/resources/product_widgets#update_product_widget def update_product_widget(id, data) put "product_widgets/#{id}", data end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
voog_api-0.0.16 | lib/voog_api/api/product_widgets.rb |
voog_api-0.0.15 | lib/voog_api/api/product_widgets.rb |