Module: Totter::Client::Stickers
- Included in:
- Totter::Client
- Defined in:
- lib/totter/client/stickers.rb
Overview
Client methods for working with stickers.
Instance Method Summary collapse
-
#follow_sticker(sticker) ⇒ Boolean
Follow all users with a specific sticker.
-
#sticker(sticker_name) ⇒ Array
Get all of the users with a given sticker.
Instance Method Details
#follow_sticker(sticker) ⇒ Boolean
Follow all users with a specific sticker
Requires authenticated client.
23 24 25 |
# File 'lib/totter/client/stickers.rb', line 23 def follow_sticker(sticker) boolean_from_response(:post, "stickers/#{sticker}/follow") end |
#sticker(sticker_name) ⇒ Array
Get all of the users with a given sticker.
11 12 13 |
# File 'lib/totter/client/stickers.rb', line 11 def sticker(sticker_name) get("stickers/#{sticker_name}").body end |