Sha256: c9326a0f4436c320098679994de5945832d6bb50a2e552d3e96dd540976ec537

Contents?: true

Size: 437 Bytes

Versions: 5

Compression:

Stored size: 437 Bytes

Contents

module Gitrob
  module Models
    class Comparison < Sequel::Model
      set_allowed_columns :primary_assessment, :secondary_assessment

      many_to_one :primary_assessment,
                  :class => :"Gitrob::Models::Assessment"
      many_to_one :secondary_assessment,
                  :class => :"Gitrob::Models::Assessment"
      many_to_many :blobs
      many_to_many :repositories
      many_to_many :owners
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
gitrob-1.1.2 lib/gitrob/models/comparison.rb
gitrob-1.1.1 lib/gitrob/models/comparison.rb
gitrob-1.1.0 lib/gitrob/models/comparison.rb
gitrob-1.0.1 lib/gitrob/models/comparison.rb
gitrob-1.0.0 lib/gitrob/models/comparison.rb