Sha256: 1904835b07937e1853a9440d1fd921c7732f67642393dba61114e2887ce6b0b1

Contents?: true

Size: 410 Bytes

Versions: 6

Compression:

Stored size: 410 Bytes

Contents

# frozen_string_literal: true

require_relative 'relationship'

module Legion
  module Data
    module Model
      class Function < Sequel::Model
        many_to_one :runner
        one_to_many :trigger_relationships, class: 'Legion::Data::Model::Relationship', key: :trigger_id
        one_to_many :action_relationships, class: 'Legion::Data::Model::Relationship', key: :action_id
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
legion-data-1.1.5 lib/legion/data/models/function.rb
legion-data-1.1.4 lib/legion/data/models/function.rb
legion-data-java-1.1.3 lib/legion/data/models/function.rb
legion-data-1.1.3 lib/legion/data/models/function.rb
legion-data-java-1.1.2 lib/legion/data/models/function.rb
legion-data-1.1.2 lib/legion/data/models/function.rb