Sha256: a7993216ff46eb2caee94be2dbd8e318896ec9f5dda74cb7d82ea1786bf4fb9a

Contents?: true

Size: 360 Bytes

Versions: 6

Compression:

Stored size: 360 Bytes

Contents

# frozen_string_literal: true

require_relative 'function'

module Legion
  module Data
    module Model
      class Relationship < Sequel::Model
        many_to_one :chain
        one_to_many :task
        many_to_one :trigger, class: Legion::Data::Model::Function
        many_to_one :action, class: Legion::Data::Model::Function
      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/relationship.rb
legion-data-1.1.4 lib/legion/data/models/relationship.rb
legion-data-java-1.1.3 lib/legion/data/models/relationship.rb
legion-data-1.1.3 lib/legion/data/models/relationship.rb
legion-data-java-1.1.2 lib/legion/data/models/relationship.rb
legion-data-1.1.2 lib/legion/data/models/relationship.rb