Sha256: b3a3210b99058c3f876a369bde717f1ddfa98b21ab74033ed83a471c5581be18
Contents?: true
Size: 368 Bytes
Versions: 9
Compression:
Stored size: 368 Bytes
Contents
module Logistics module Core class EslTransportTariff < ApplicationRecord belongs_to :route has_many :esl_transport_tariff_rates validates :route, :storage_point, presence: true validates_uniqueness_of :route, :scope => :storage_point def name "#{self.route.route_name } (#{self.storage_point})" end end end end
Version data entries
9 entries across 9 versions & 1 rubygems