Class: Statement::PaymentTypeRow
- Inherits:
-
Object
- Object
- Statement::PaymentTypeRow
- Includes:
- Row
- Defined in:
- app/models/statement.rb
Instance Attribute Summary collapse
-
#payment_method ⇒ Object
Returns the value of attribute payment_method.
Attributes included from Row
#gross, #net, #processing, #tickets
Instance Method Summary collapse
-
#initialize(payment_method) ⇒ PaymentTypeRow
constructor
A new instance of PaymentTypeRow.
Methods included from Row
Constructor Details
#initialize(payment_method) ⇒ PaymentTypeRow
Returns a new instance of PaymentTypeRow.
184 185 186 187 188 189 190 |
# File 'app/models/statement.rb', line 184 def initialize(payment_method) self.payment_method = payment_method self.tickets = 0 self.gross = 0 self.processing = 0 self.net = 0 end |
Instance Attribute Details
#payment_method ⇒ Object
Returns the value of attribute payment_method.
182 183 184 |
# File 'app/models/statement.rb', line 182 def payment_method @payment_method end |