Sha256: 51a3d27d51ca241803e659633471b40b9ba9b177d71ceceb15e2cdcf76d3c7ad

Contents?: true

Size: 404 Bytes

Versions: 2

Compression:

Stored size: 404 Bytes

Contents

# frozen_string_literal: true

require_relative 'function'
module Legion
  module Data
    module Model
      # Used for access legion.relationships
      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

2 entries across 2 versions & 1 rubygems

Version Path
legion-data-0.1.1 lib/legion/data/models/relationship.rb
legion-data-0.1.0 lib/legion/data/models/relationship.rb