Class: Dscf::Payment::Payment
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- Dscf::Payment::Payment
- Defined in:
- app/models/dscf/payment/payment.rb
Class Method Summary collapse
- .ransackable_associations(auth_object = nil) ⇒ Object
- .ransackable_attributes(auth_object = nil) ⇒ Object
Class Method Details
.ransackable_associations(auth_object = nil) ⇒ Object
25 26 27 |
# File 'app/models/dscf/payment/payment.rb', line 25 def self.ransackable_associations(auth_object = nil) %w[payment_request banking_transaction] end |
.ransackable_attributes(auth_object = nil) ⇒ Object
21 22 23 |
# File 'app/models/dscf/payment/payment.rb', line 21 def self.ransackable_attributes(auth_object = nil) %w[id transaction_reference amount currency status processed_at failure_reason created_at updated_at] end |