Module: Voog::API::BuyButtons
- Included in:
- Client
- Defined in:
- lib/voog_api/api/buy_buttons.rb
Overview
Voog Buy Buttons API methods.
Instance Method Summary collapse
-
#buy_button(id, params = {}) ⇒ Object
Get a single buy_button.
-
#buy_buttons(params = {}) ⇒ Object
List buy_buttons.
-
#update_buy_button(id, data) ⇒ Object
Update a buy_button.
Instance Method Details
#buy_button(id, params = {}) ⇒ Object
Get a single buy_button
18 19 20 |
# File 'lib/voog_api/api/buy_buttons.rb', line 18 def (id, params = {}) get "buy_buttons/#{id}", {query: params} end |
#buy_buttons(params = {}) ⇒ Object
List buy_buttons
11 12 13 |
# File 'lib/voog_api/api/buy_buttons.rb', line 11 def (params = {}) paginate 'buy_buttons', {query: params} end |
#update_buy_button(id, data) ⇒ Object
Update a buy_button
25 26 27 |
# File 'lib/voog_api/api/buy_buttons.rb', line 25 def (id, data) put "buy_buttons/#{id}", data end |