Sha256: f6206f4d60228ee22b9d22e7de617605400b8df824c8ceaddc448933d8258144

Contents?: true

Size: 368 Bytes

Versions: 1

Compression:

Stored size: 368 Bytes

Contents

# frozen_string_literal: true

module Unitsdb
  class UnitSystem < Lutaml::Model::Serializable
    attribute :id, :string
    attribute :name, :string
    attribute :type, :string
    attribute :acceptable, :boolean

    key_value do
      map :id, to: :id
      map :type, to: :type
      map :name, to: :name
      map :acceptable, to: :acceptable
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
unitsdb-0.1.1 lib/unitsdb/unit_system.rb