Class: InstaScraper::HTML
- Inherits:
-
Object
- Object
- InstaScraper::HTML
- Defined in:
- lib/insta_scraper/html.rb
Defined Under Namespace
Instance Method Summary collapse
Instance Method Details
#data ⇒ Object
7 8 9 10 11 12 |
# File 'lib/insta_scraper/html.rb', line 7 def data @data ||= Hashie::Mash.new(::JSON.parse(shared_data)) .extend(Hashie::Extensions::DeepFetch) .extend(Hashie::Extensions::DeepFind) end |
#html ⇒ Object
3 4 5 |
# File 'lib/insta_scraper/html.rb', line 3 def html @html ||= get_html end |