Class: Ticket::Reports::Base

Inherits:
Object
  • Object
show all
Defined in:
app/models/ticket/reports.rb

Direct Known Subclasses

Available, Comped, Sales, Sold

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(parent) ⇒ Base

Returns a new instance of Base.



6
7
8
# File 'app/models/ticket/reports.rb', line 6

def initialize(parent)
  @parent = parent
end

Class Method Details

.reporting_methodsObject



10
11
12
# File 'app/models/ticket/reports.rb', line 10

def self.reporting_methods
  self.public_instance_methods - Object.public_instance_methods
end