Class: Dscf::Marketplace::ListingApproval
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- Dscf::Marketplace::ListingApproval
- Defined in:
- app/models/dscf/marketplace/listing_approval.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/marketplace/listing_approval.rb', line 25 def self.ransackable_associations(_auth_object = nil) %w[listing approved_by] end |
.ransackable_attributes(_auth_object = nil) ⇒ Object
20 21 22 23 |
# File 'app/models/dscf/marketplace/listing_approval.rb', line 20 def self.ransackable_attributes(_auth_object = nil) %w[id listing_id approval_status aggregator_price supplier_price approved_by_id approved_at created_at updated_at] end |