Class: Gera::CurrencyRateModeSnapshot
- Inherits:
-
ApplicationRecord
- Object
- ApplicationRecord
- ApplicationRecord
- Gera::CurrencyRateModeSnapshot
- Defined in:
- app/models/gera/currency_rate_mode_snapshot.rb
Instance Method Summary collapse
Instance Method Details
#create_modes! ⇒ Object
19 20 21 22 23 24 |
# File 'app/models/gera/currency_rate_mode_snapshot.rb', line 19 def create_modes! CurrencyPair.all.each do |pair| currency_rate_modes.create! currency_pair: pair end self end |