Module: Croudia::Rest::Followers
- Included in:
- Client
- Defined in:
- lib/croudia/rest/followers.rb
Instance Method Summary collapse
-
#follower_ids(params = {}) ⇒ Croudia::Object::IDs
Returns a collection of user ids that the authenticating user’s followers.
-
#followers(params = {}) ⇒ Croudia::Object::List
Returns a collection of user objects the authenticating user’s followers.
Instance Method Details
#follower_ids(params = {}) ⇒ Croudia::Object::IDs
Returns a collection of user ids that the authenticating user’s followers.
16 17 18 19 |
# File 'lib/croudia/rest/followers.rb', line 16 def follower_ids(params = {}) response = get('followers/ids.json', params) Croudia::Object::IDs.new(response) end |
#followers(params = {}) ⇒ Croudia::Object::List
Returns a collection of user objects the authenticating user’s followers.
30 31 32 33 |
# File 'lib/croudia/rest/followers.rb', line 30 def followers(params = {}) response = get('followers/list.json', params) Croudia::Object::List.new(response) end |