Class: Scraper
- Inherits:
-
Object
- Object
- Scraper
- Defined in:
- lib/scraper.rb
Instance Method Summary collapse
Instance Method Details
#get_page ⇒ Object
9 10 11 12 |
# File 'lib/scraper.rb', line 9 def get_page doc = Nokogiri::HTML(open("https://zodiacal.herokuapp.com/api")) JSON.parse(doc) end |