Sha256: ad5fc5c5dbf903206c5725e6d6059d4bb9d92bc28547d5f4eeee159d2c26de06

Contents?: true

Size: 240 Bytes

Versions: 59

Compression:

Stored size: 240 Bytes

Contents

class InstagramFeedService

  def initialize
    @client = Instagram.client
  end

  def get_feed_for_tag(tag)
    @client.tag_recent_media(tag).map do |post|
      Social::InstagramPostPresenter.from_instagram_post(post)
    end
  end

end

Version data entries

59 entries across 59 versions & 1 rubygems

Version Path
trusty-festivity-extension-2.5.10 app/services/instagram_feed_service.rb
trusty-festivity-extension-2.5.9 app/services/instagram_feed_service.rb
trusty-festivity-extension-2.5.8 app/services/instagram_feed_service.rb
trusty-festivity-extension-2.5.7 app/services/instagram_feed_service.rb
trusty-festivity-extension-2.5.6 app/services/instagram_feed_service.rb
trusty-festivity-extension-2.5.5 app/services/instagram_feed_service.rb
trusty-festivity-extension-2.5.4 app/services/instagram_feed_service.rb
trusty-festivity-extension-2.5.3 app/services/instagram_feed_service.rb
trusty-festivity-extension-2.5.2 app/services/instagram_feed_service.rb
trusty-festivity-extension-2.5.1 app/services/instagram_feed_service.rb
trusty-festivity-extension-2.5.0 app/services/instagram_feed_service.rb
trusty-festivity-extension-2.4.6 app/services/instagram_feed_service.rb
trusty-festivity-extension-2.4.5 app/services/instagram_feed_service.rb
trusty-festivity-extension-2.4.4 app/services/instagram_feed_service.rb
trusty-festivity-extension-2.4.3 app/services/instagram_feed_service.rb
trusty-festivity-extension-2.4.2 app/services/instagram_feed_service.rb
trusty-festivity-extension-2.4.1 app/services/instagram_feed_service.rb
trusty-festivity-extension-2.4.0 app/services/instagram_feed_service.rb
trusty-festivity-extension-2.3.30 app/services/instagram_feed_service.rb
trusty-festivity-extension-2.3.29 app/services/instagram_feed_service.rb