Class: Statement::OrderLocationRow
- Inherits:
-
Object
- Object
- Statement::OrderLocationRow
- Includes:
- Row
- Defined in:
- app/models/statement.rb
Instance Attribute Summary collapse
-
#order_location ⇒ Object
Returns the value of attribute order_location.
Attributes included from Row
#gross, #net, #processing, #tickets
Instance Method Summary collapse
-
#initialize(order_location) ⇒ OrderLocationRow
constructor
A new instance of OrderLocationRow.
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_location ⇒ Object
Returns the value of attribute order_location.
198 199 200 |
# File 'app/models/statement.rb', line 198 def order_location @order_location end |