Sha256: c1ff035fd0326e42b70addffa50948c142567e0ff5b1b3a774e9e22c8df69252

Contents?: true

Size: 246 Bytes

Versions: 9

Compression:

Stored size: 246 Bytes

Contents

module Logistics
	module Core
	  class CurrencyRate < ApplicationRecord
			validates :rate_to_base_selling, :rate_date, presence: true
	    belongs_to :currency

			def self.build(options = {})
				CurrencyRate.new(options)
			end
	  end
	end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
logistics_core-21.11.2 app/models/logistics/core/currency_rate.rb
logistics_core-21.11.1 app/models/logistics/core/currency_rate.rb
logistics_core-21.08.1 app/models/logistics/core/currency_rate.rb
logistics_core-21.03.1 app/models/logistics/core/currency_rate.rb
logistics_core-20.10.3 app/models/logistics/core/currency_rate.rb
logistics_core-20.10.2 app/models/logistics/core/currency_rate.rb
logistics_core-20.10.1 app/models/logistics/core/currency_rate.rb
logistics_core-20.9.1 app/models/logistics/core/currency_rate.rb
logistics_core-20.8.1 app/models/logistics/core/currency_rate.rb