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.
213 214 215 216 217 218 219 |
# File 'app/models/statement.rb', line 213 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.
211 212 213 |
# File 'app/models/statement.rb', line 211 def payment_method @payment_method end |