class SocialProfile::People::Instagram
Constants
- POSTS_COUNT
Public Instance Methods
last_posts(options={})
click to toggle source
# File lib/social_profile/people/instagram.rb, line 8 def last_posts(options={}) limit = options[:limit] || POSTS_COUNT client.user_recent_media count: limit end
Protected Instance Methods
client()
click to toggle source
# File lib/social_profile/people/instagram.rb, line 16 def client ::Instagram.client(access_token: access_token) end