Class: AdopsReportScrapper::PopadsbuyerClient

Inherits:
BaseClient
  • Object
show all
Defined in:
lib/adops_report_scrapper/popadsbuyer_client.rb

Instance Method Summary collapse

Methods inherited from BaseClient

#get_data, #initialize, #login, #logout

Constructor Details

This class inherits a constructor from AdopsReportScrapper::BaseClient

Instance Method Details

#before_quit_with_errorObject



15
16
# File 'lib/adops_report_scrapper/popadsbuyer_client.rb', line 15

def before_quit_with_error
end

#date_supported?(date = nil) ⇒ Boolean

Returns:

  • (Boolean)


6
7
8
9
10
# File 'lib/adops_report_scrapper/popadsbuyer_client.rb', line 6

def date_supported?(date = nil)
  _date = date || @date
  return true if _date < (Date.today + 1)
  false
end

#init_clientObject



12
13
# File 'lib/adops_report_scrapper/popadsbuyer_client.rb', line 12

def init_client
end