Sha256: 3378c62a334f37d17528dd5481150804884489e32b57469acb02c042b66d837a
Contents?: true
Size: 435 Bytes
Versions: 4
Compression:
Stored size: 435 Bytes
Contents
module InstaScraper class HTML::Account < InstaScraper::HTML attr_reader :username, :params def initialize(username = nil, html = nil, params = {}) raise ArgumentError, 'Provide a username or html string' if !username && !html @username = username @html = html @params = params end def url "https://www.instagram.com/#{username}/#{serialize_params}" end end end
Version data entries
4 entries across 4 versions & 1 rubygems