Class: Littlstar::Users
- Inherits:
-
Object
- Object
- Littlstar::Users
- Defined in:
- lib/littlstar/users.rb
Instance Method Summary collapse
- #channels_for(id, query = {}) ⇒ Object
- #followers_for(id, query = {}) ⇒ Object
- #following_for(id, query = {}) ⇒ Object
- #get(id) ⇒ Object
- #photos_for(id, query = {}) ⇒ Object
- #videos_for(id, query = {}) ⇒ Object
Instance Method Details
#channels_for(id, query = {}) ⇒ Object
16 17 18 |
# File 'lib/littlstar/users.rb', line 16 def channels_for(id, query={}) Littlstar.request(:get, "/users/#{id}/channels", query) end |
#followers_for(id, query = {}) ⇒ Object
20 21 22 |
# File 'lib/littlstar/users.rb', line 20 def followers_for(id, query={}) Littlstar.request(:get, "/users/#{id}/followers", query) end |
#following_for(id, query = {}) ⇒ Object
24 25 26 |
# File 'lib/littlstar/users.rb', line 24 def following_for(id, query={}) Littlstar.request(:get, "/users/#{id}/following", query) end |
#get(id) ⇒ Object
4 5 6 |
# File 'lib/littlstar/users.rb', line 4 def get(id) Littlstar.request(:get, "/users/#{id}") end |
#photos_for(id, query = {}) ⇒ Object
12 13 14 |
# File 'lib/littlstar/users.rb', line 12 def photos_for(id, query={}) Littlstar.request(:get, "/users/#{id}/photos", query) end |
#videos_for(id, query = {}) ⇒ Object
8 9 10 |
# File 'lib/littlstar/users.rb', line 8 def videos_for(id, query={}) Littlstar.request(:get, "/users/#{id}/videos", query) end |