Class: ActiveRecord::Base
- Inherits:
-
Object
- Object
- ActiveRecord::Base
- Defined in:
- lib/cryptocoin_payable/orm/activerecord.rb
Direct Known Subclasses
CryptocoinPayable::CoinPayment, CryptocoinPayable::CoinPaymentTransaction, CryptocoinPayable::CurrencyConversion
Class Method Summary collapse
-
.has_coin_payments ⇒ Object
rubocop:disable Naming/PredicateName.
Class Method Details
.has_coin_payments ⇒ Object
rubocop:disable Naming/PredicateName
10 11 12 |
# File 'lib/cryptocoin_payable/orm/activerecord.rb', line 10 def self.has_coin_payments # rubocop:disable Naming/PredicateName has_many :coin_payments, class_name: 'CryptocoinPayable::CoinPayment', as: 'payable' end |