Class: Littlstar::Categories
- Inherits:
-
Object
- Object
- Littlstar::Categories
- Defined in:
- lib/littlstar/categories.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/categories.rb', line 8 def all(query={}) Littlstar.request(:get, '/categories', query) end |
#get(id) ⇒ Object
4 5 6 |
# File 'lib/littlstar/categories.rb', line 4 def get(id) Littlstar.request(:get, "/categories/#{id}") end |