Sha256: e848f019cccf6b0ca5a91a628b0d0fa013a7da0726a7b7dfde050eeb40e02623

Contents?: true

Size: 303 Bytes

Versions: 1

Compression:

Stored size: 303 Bytes

Contents

# frozen_string_literal: true

module Legion
  module Data
    module Model
      class Datacenter < Sequel::Model
        one_to_many :node
        many_to_one :user_owner, class: Legion::Data::Model::User
        many_to_one :group_owner, class: Legion::Data::Model::Group
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
legion-data-0.2.0 lib/legion/data/models/datacenter.rb