Class: Statement::TicketTypeRow

Inherits:
Object
  • Object
show all
Includes:
Row
Defined in:
app/models/statement.rb

Instance Attribute Summary collapse

Attributes included from Row

#gross, #net, #processing, #tickets

Instance Method Summary collapse

Methods included from Row

#<<

Constructor Details

#initialize(ticket_type) ⇒ TicketTypeRow

Returns a new instance of TicketTypeRow.



143
144
145
146
147
148
149
# File 'app/models/statement.rb', line 143

def initialize(ticket_type)
  self.ticket_type = ticket_type
  self.tickets = 0
  self.gross = 0
  self.processing = 0
  self.net = 0
end

Instance Attribute Details

#ticket_typeObject

Returns the value of attribute ticket_type.



141
142
143
# File 'app/models/statement.rb', line 141

def ticket_type
  @ticket_type
end