Class: Gera::DirectionRateHistoryIntervalFilter

Inherits:
Object
  • Object
show all
Extended by:
ActiveModel::Naming
Includes:
ActiveModel::Conversion, ActiveModel::Validations
Defined in:
app/models/gera/direction_rate_history_interval_filter.rb

Instance Method Summary collapse

Instance Method Details

#payment_system_fromObject



14
15
16
# File 'app/models/gera/direction_rate_history_interval_filter.rb', line 14

def payment_system_from
  @payment_system_from ||= Gera::PaymentSystem.find payment_system_from_id
end

#payment_system_toObject



18
19
20
# File 'app/models/gera/direction_rate_history_interval_filter.rb', line 18

def payment_system_to
  @payment_system_to ||= Gera::PaymentSystem.find payment_system_to_id
end

#persisted?Boolean

Returns:

  • (Boolean)


26
27
28
# File 'app/models/gera/direction_rate_history_interval_filter.rb', line 26

def persisted?
  false
end

#to_paramObject



22
23
24
# File 'app/models/gera/direction_rate_history_interval_filter.rb', line 22

def to_param
  to_hash
end