Sha256: f0e7f369a5668e06ee5ad7e10637423f1890643e1c26ec86bb4a65927c7ab20c

Contents?: true

Size: 220 Bytes

Versions: 4

Compression:

Stored size: 220 Bytes

Contents

module Mks
  module Edm
    class EquipmentComponent < ApplicationRecord
      belongs_to :equipment_item

      validates :name, presence: true

      delegate(:name, to: :equipment_item, prefix: true)
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
mks_edm-1.0.5 app/models/mks/edm/equipment_component.rb
mks_edm-1.0.4 app/models/mks/edm/equipment_component.rb
mks_edm-1.0.2 app/models/mks/edm/equipment_component.rb
mks_edm-1.0.1 app/models/mks/edm/equipment_component.rb