Sha256: a282d26879096b69a18e6a34e0516e2c98e44e254c8c2c7a296b8e858207aacb
Contents?: true
Size: 378 Bytes
Versions: 3
Compression:
Stored size: 378 Bytes
Contents
require "instagram" module SocialProfile module People class Instagram < Person POSTS_COUNT = 100 def last_posts(options={}) limit = options[:limit] || POSTS_COUNT client.user_recent_media count: limit end protected def client ::Instagram.client(access_token: access_token) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
social_profile-0.3.2 | lib/social_profile/people/instagram.rb |
social_profile-0.3.1 | lib/social_profile/people/instagram.rb |
social_profile-0.3.0 | lib/social_profile/people/instagram.rb |