Class: Gera::CurrencyRateHistoryIntervalFilter
- Inherits:
-
Object
- Object
- Gera::CurrencyRateHistoryIntervalFilter
- Extended by:
- ActiveModel::Naming
- Includes:
- ActiveModel::Conversion, ActiveModel::Validations
- Defined in:
- app/models/gera/currency_rate_history_interval_filter.rb
Instance Method Summary collapse
Instance Method Details
#currency_from ⇒ Object
14 15 16 |
# File 'app/models/gera/currency_rate_history_interval_filter.rb', line 14 def currency_from Money::Currency.find cur_from end |
#currency_to ⇒ Object
18 19 20 |
# File 'app/models/gera/currency_rate_history_interval_filter.rb', line 18 def currency_to Money::Currency.find cur_to end |
#persisted? ⇒ Boolean
26 27 28 |
# File 'app/models/gera/currency_rate_history_interval_filter.rb', line 26 def persisted? false end |
#to_param ⇒ Object
22 23 24 |
# File 'app/models/gera/currency_rate_history_interval_filter.rb', line 22 def to_param to_hash end |