Class: AdopsReportScrapper::LittlethingsClient
- Inherits:
-
BaseClient
- Object
- BaseClient
- AdopsReportScrapper::LittlethingsClient
- Defined in:
- lib/adops_report_scrapper/littlethings_client.rb
Instance Method Summary collapse
Methods inherited from BaseClient
#before_quit_with_error, #get_data, #init_client, #initialize, #logout
Constructor Details
This class inherits a constructor from AdopsReportScrapper::BaseClient
Instance Method Details
#date_supported?(date = nil) ⇒ Boolean
5 6 7 8 9 |
# File 'lib/adops_report_scrapper/littlethings_client.rb', line 5 def date_supported?(date = nil) _date = date || @date return true if _date >= Date.today - 4 false end |