unepwcmc/SAPI

View on GitHub
app/services/trade/shipments_gross_imports_export.rb

Summary

Maintainability
A
0 mins
Test Coverage
# Implements "gross imports" shipments export
class Trade::ShipmentsGrossImportsExport < Trade::ShipmentsGrossExportsExport
  include Trade::ShipmentReportQueries

  private

  # the query before pivoting
  def subquery_sql(options)
    gross_imports_query(options)
  end

  def resource_name
    "gross_imports"
  end

end