Sha256: cd7a48d0aa8738053a19eb184770e23e9d430898cfb893921f5a07e057896073

Contents?: true

Size: 650 Bytes

Versions: 1

Compression:

Stored size: 650 Bytes

Contents

# frozen_string_literal: true

require 'model'

class Request < Model
  belongs_to :owner, polymorphic: true
  belongs_to :sender, polymorphic: true
  belongs_to :repository
  belongs_to :branch
  belongs_to :pull_request
  belongs_to :tag
  belongs_to :commit
  belongs_to :request_yaml_configs
  belongs_to :request_configs
  has_many :abuses
  has_many :messages, as: :subject
  has_many :jobs, as: :source
  has_many :builds
  has_many :request_payloads
  has_many :request_raw_configurations
  has_many :deleted_jobs, as: :source
  has_many :deleted_builds
  has_many :deleted_request_payloads
  has_many :deleted_request_raw_configurations
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
travis-backup-for-v3-0.1.0 lib/models/request.rb