Class: Statement::OrderLocationRow

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(order_location) ⇒ OrderLocationRow

Returns a new instance of OrderLocationRow.



171
172
173
174
175
176
177
# File 'app/models/statement.rb', line 171

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

Instance Attribute Details

#order_locationObject

Returns the value of attribute order_location.



169
170
171
# File 'app/models/statement.rb', line 169

def order_location
  @order_location
end