Method: Compactor::Amazon::ScrapedRow#requestable_report?
- Defined in:
- lib/compactor/scraped_row.rb
#requestable_report? ⇒ Boolean
A settlement period (row) is considered ready to be parsed if it’s not processing, open or in progress. Also the “regenerate” button is not present. This means that all is left is 1 or more buttons to get the actual reports
61 62 63 |
# File 'lib/compactor/scraped_row.rb', line 61 def requestable_report? !last_cell.search(".regenerateButton").empty? end |