Sha256: 195dc1387739e83a44edf217ef58e810623b146eed430e07b6f3e38bcfe31994

Contents?: true

Size: 323 Bytes

Versions: 3

Compression:

Stored size: 323 Bytes

Contents

module InstaScraper
  class JSON::AccountMedia < InstaScraper::JSON
    attr_reader :username,
                :params

    def initialize(username, params = {})
      @username = username
      @params = params
    end

    def url
      "https://www.instagram.com/#{username}/media/#{serialize_params}"
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
insta_scraper-0.7.0 lib/insta_scraper/json/account_media.rb
insta_scraper-0.6.1 lib/insta_scraper/json/account_media.rb
insta_scraper-0.6.0 lib/insta_scraper/json/account_media.rb