Sha256: 8afe80270fdcc9343fc043046c9a2914df0e47ef398d542c9aa6baef40216ef0
Contents?: true
Size: 825 Bytes
Versions: 2
Compression:
Stored size: 825 Bytes
Contents
module Voog class API # Voog Buy Buttons API methods. # # @see https://www.voog.com/developers/api/resources/buy_buttons module BuyButtons # List buy_buttons # # @see https://www.voog.com/developers/api/resources/buy_buttons#get_buy_buttons def buy_buttons(params = {}) paginate 'buy_buttons', {query: params} end # Get a single buy_button # # @see https://www.voog.com/developers/api/resources/buy_buttons#get_buy_button def buy_button(id, params = {}) get "buy_buttons/#{id}", {query: params} end # Update a buy_button # # @see https://www.voog.com/developers/api/resources/buy_buttons#update_buy_button def update_buy_button(id, data) put "buy_buttons/#{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/buy_buttons.rb |
voog_api-0.0.15 | lib/voog_api/api/buy_buttons.rb |