Class: Caboose::OrderTransaction
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Caboose::OrderTransaction
- Defined in:
- app/models/caboose/order_transaction.rb
Constant Summary collapse
- TYPE_AUTHORIZE =
'auth'
- TYPE_CAPTURE =
'capture'
- TYPE_VOID =
'void'
- TYPE_REFUND =
'refund'
Instance Method Summary collapse
Instance Method Details
#check_nil_fields ⇒ Object
24 25 26 |
# File 'app/models/caboose/order_transaction.rb', line 24 def check_nil_fields self.amount = 0.00 if self.amount.nil? end |