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.



200
201
202
203
204
205
206
# File 'app/models/statement.rb', line 200

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.



198
199
200
# File 'app/models/statement.rb', line 198

def order_location
  @order_location
end