Module: Simplewoo::Client::Slider
- Included in:
- Simplewoo::Client
- Defined in:
- lib/simplewoo/client/slider.rb
Instance Method Summary collapse
-
#slider(id, options = {}) ⇒ Hashie::Mash
Return the requested slider and its associated tags.
-
#sliders(options = {}) ⇒ Hashie::Mash
Return the sliders for the app you are on.
Instance Method Details
#slider(id, options = {}) ⇒ Hashie::Mash
Note:
requires an authenticated Client instance (app_secret) not an authenticated user
Return the requested slider and its associated tags
26 27 28 |
# File 'lib/simplewoo/client/slider.rb', line 26 def (id, = {}) get("/sliders/#{id}", ) end |
#sliders(options = {}) ⇒ Hashie::Mash
Note:
requires an authenticated Client instance (app_secret) not an authenticated user
Return the sliders for the app you are on
12 13 14 |
# File 'lib/simplewoo/client/slider.rb', line 12 def ( = {}) get("/sliders", ) end |