Sha256: 9cfe3d1a91b775dd8ab5787a32fa5cac40a0f8f00c709b5527ba818865bac028

Contents?: true

Size: 221 Bytes

Versions: 9

Compression:

Stored size: 221 Bytes

Contents

module Logistics
  module Core
    class ServiceDeliveryUnitType < Lookup
      def self.get_sdu_type_by_code(code)
        sdu = ServiceDeliveryUnitType.where(code: code)
        return sdu[0]
      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/service_delivery_unit_type.rb
logistics_core-21.11.1 app/models/logistics/core/service_delivery_unit_type.rb
logistics_core-21.08.1 app/models/logistics/core/service_delivery_unit_type.rb
logistics_core-21.03.1 app/models/logistics/core/service_delivery_unit_type.rb
logistics_core-20.10.3 app/models/logistics/core/service_delivery_unit_type.rb
logistics_core-20.10.2 app/models/logistics/core/service_delivery_unit_type.rb
logistics_core-20.10.1 app/models/logistics/core/service_delivery_unit_type.rb
logistics_core-20.9.1 app/models/logistics/core/service_delivery_unit_type.rb
logistics_core-20.8.1 app/models/logistics/core/service_delivery_unit_type.rb