Class: ItemView

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
app/models/database_views/item_view.rb

Class Method Summary collapse

Class Method Details

.donations_export_filename_for(organization) ⇒ Object



19
20
21
# File 'app/models/database_views/item_view.rb', line 19

def self.donations_export_filename_for(organization)
  "exports/Artfully-Donations-Export-#{organization.id}.csv"
end

.sales_export_filename_for(organization) ⇒ Object



15
16
17
# File 'app/models/database_views/item_view.rb', line 15

def self.sales_export_filename_for(organization)
  "exports/Artfully-Ticket-Sales-Export-#{organization.id}.csv"
end