Method: Compactor::Amazon::ScrapedRow#download_report!
- Defined in:
- lib/compactor/scraped_row.rb
#download_report!(validate = false) ⇒ Object
19 20 21 22 23 24 25 26 |
# File 'lib/compactor/scraped_row.rb', line 19 def download_report!(validate=false) r_type, r_data = download_report # fail if Amazon is saying that total is X but the calculated total is Y validate!(r_type, r_data) if validate [r_type, r_data] end |