Sha256: 243fa2ae841c24d974a8d265377b9e5c798717a34067bdbe9897700373443ee5

Contents?: true

Size: 222 Bytes

Versions: 9

Compression:

Stored size: 222 Bytes

Contents

module Logistics
  module Core
    class CarrierAgent < ApplicationRecord
      validates :carrier, presence: true
      validates :agent, presence: true

      belongs_to :carrier
      belongs_to :agent
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

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