lib/datahen/scraper/ruby_parser_executor.rb in datahen-1.0.0 vs lib/datahen/scraper/ruby_parser_executor.rb in datahen-1.0.1

- old
+ new

@@ -12,9 +12,11 @@ attr_accessor :reparse_self # Limbo self page flag. # @return [Boollean] attr_accessor :limbo_self + FIND_OUTPUTS_RETRY_LIMIT = 2 + def initialize(options={}) @filename = options.fetch(:filename) { raise "Filename is required"} @page = options.fetch(:page) { nil } @gid = (self.page || {})['gid'] || options.fetch(:gid) { raise "GID or a page with a GID is required"} @job_id = options.fetch(:job_id)