Sha256: a7e67f57c9b7a0409ae67688456f2b937a8f02a099ae32c53ce9e91782a73a64

Contents?: true

Size: 416 Bytes

Versions: 15

Compression:

Stored size: 416 Bytes

Contents

# frozen_string_literal: true

module Lutaml
  module XMI
    class OperationDrop < Liquid::Drop
      def initialize(model) # rubocop:disable Lint/MissingSuper
        @model = model
      end

      def id
        @model[:id]
      end

      def xmi_id
        @model[:xmi_id]
      end

      def name
        @model[:name]
      end

      def definition
        @model[:definition]
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
lutaml-0.9.25 lib/lutaml/xmi/liquid_drops/operation_drop.rb
lutaml-0.9.24 lib/lutaml/xmi/liquid_drops/operation_drop.rb
lutaml-0.9.23 lib/lutaml/xmi/liquid_drops/operation_drop.rb
lutaml-0.9.22 lib/lutaml/xmi/liquid_drops/operation_drop.rb
lutaml-0.9.21 lib/lutaml/xmi/liquid_drops/operation_drop.rb
lutaml-0.9.20 lib/lutaml/xmi/liquid_drops/operation_drop.rb
lutaml-0.9.19 lib/lutaml/xmi/liquid_drops/operation_drop.rb
lutaml-0.9.18 lib/lutaml/xmi/liquid_drops/operation_drop.rb
lutaml-0.9.17 lib/lutaml/xmi/liquid_drops/operation_drop.rb
lutaml-0.9.16 lib/lutaml/xmi/liquid_drops/operation_drop.rb
lutaml-0.9.15 lib/lutaml/xmi/liquid_drops/operation_drop.rb
lutaml-0.9.14 lib/lutaml/xmi/liquid_drops/operation_drop.rb
lutaml-0.9.13 lib/lutaml/xmi/liquid_drops/operation_drop.rb
lutaml-0.9.12 lib/lutaml/xmi/liquid_drops/operation_drop.rb
lutaml-0.9.11 lib/lutaml/xmi/liquid_drops/operation_drop.rb