Class: AdopsReportScrapper::RubiconClient
Instance Method Summary
collapse
Methods inherited from BaseClient
#get_data, #initialize, #login, #logout
Instance Method Details
#before_quit_with_error ⇒ Object
17
18
|
# File 'lib/adops_report_scrapper/rubicon_client.rb', line 17
def before_quit_with_error
end
|
#date_supported?(date = nil) ⇒ Boolean
6
7
8
9
10
|
# File 'lib/adops_report_scrapper/rubicon_client.rb', line 6
def date_supported?(date = nil)
_date = date || @date
return true if _date < Date.today
false
end
|
#init_client ⇒ Object
12
13
14
15
|
# File 'lib/adops_report_scrapper/rubicon_client.rb', line 12
def init_client
fail 'please specify rubicon account id' unless @options['account_id']
@account_id = @options['account_id']
end
|