Class: Glib::JsonCrawler::Menu

Inherits:
ActionCrawler show all
Defined in:
lib/glib/json_crawler/action_crawlers/menu.rb

Instance Method Summary collapse

Methods inherited from ActionCrawler

#click, #crawl, #perform

Constructor Details

#initialize(http, args, action) ⇒ Menu

Returns a new instance of Menu.



4
5
6
7
8
9
# File 'lib/glib/json_crawler/action_crawlers/menu.rb', line 4

def initialize(http, args, action)
  super(http)

  @http.router.log action, nil
  crawl args['buttons']
end