Class: AdopsReportScrapper::EmailClient
- Inherits:
-
BaseClient
- Object
- BaseClient
- AdopsReportScrapper::EmailClient
- Defined in:
- lib/adops_report_scrapper/email_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
#date_supported?(date = nil) ⇒ Boolean
8 9 10 11 12 |
# File 'lib/adops_report_scrapper/email_client.rb', line 8 def date_supported?(date = nil) _date = date || @date return true if _date >= Date.today - 30 false end |