Class: SocialProfile::People::Instagram
- Inherits:
-
SocialProfile::Person
- Object
- SocialProfile::Person
- SocialProfile::People::Instagram
- Defined in:
- lib/social_profile/people/instagram.rb
Constant Summary collapse
- POSTS_COUNT =
100
Instance Attribute Summary
Attributes inherited from SocialProfile::Person
Instance Method Summary collapse
Methods inherited from SocialProfile::Person
#album!, #fetch_album, #find_album, #find_or_create_album, #followers_count, #friends_count, get, #initialize, #share_photo!, #tag_object!
Constructor Details
This class inherits a constructor from SocialProfile::Person
Instance Method Details
#last_posts(options = {}) ⇒ Object
8 9 10 11 12 |
# File 'lib/social_profile/people/instagram.rb', line 8 def last_posts(={}) limit = [:limit] || POSTS_COUNT client.user_recent_media count: limit end |