Class: Littlstar::Hashtags
- Inherits:
-
Object
- Object
- Littlstar::Hashtags
- Defined in:
- lib/littlstar/hashtags.rb
Instance Method Summary collapse
- #all(query = {}) ⇒ Object
- #get(id) ⇒ Object
- #photos_for(id, query = {}) ⇒ Object
- #videos_for(id, query = {}) ⇒ Object
Instance Method Details
#all(query = {}) ⇒ Object
8 9 10 |
# File 'lib/littlstar/hashtags.rb', line 8 def all(query={}) Littlstar.request(:get, '/hashtags', query) end |
#get(id) ⇒ Object
4 5 6 |
# File 'lib/littlstar/hashtags.rb', line 4 def get(id) Littlstar.request(:get, "/hashtags/#{id}") end |
#photos_for(id, query = {}) ⇒ Object
16 17 18 |
# File 'lib/littlstar/hashtags.rb', line 16 def photos_for(id, query={}) Littlstar.request(:get, "/hashtags/#{id}/photos", query) end |
#videos_for(id, query = {}) ⇒ Object
12 13 14 |
# File 'lib/littlstar/hashtags.rb', line 12 def videos_for(id, query={}) Littlstar.request(:get, "/hashtags/#{id}/videos", query) end |