Class: Glib::JsonCrawler::RunMultiple

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

Instance Method Summary collapse

Methods inherited from ActionCrawler

#click, #crawl, #perform

Constructor Details

#initialize(http, args, action) ⇒ RunMultiple

Returns a new instance of RunMultiple.



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

def initialize(http, args, action)
  @http = http

  args['childActions']&.each do |button|
    perform(button)
  end
end