Sha256: a237284cea768e8008f8829033407effff32a81c6a82fa89dc0c1a1a52f369f2

Contents?: true

Size: 542 Bytes

Versions: 26

Compression:

Stored size: 542 Bytes

Contents

module Gitlab
  module Triage
    Options = Struct.new(
      :dry_run,
      :policies_files,
      :all,
      :source,
      :source_id,
      :token,
      :debug,
      :host_url,
      :require_files,
      :api_version
    ) do
      def initialize(*args)
        super

        # Defaults
        self.host_url ||= 'https://gitlab.com'
        self.api_version ||= 'v4'
        self.all ||= false
        self.source ||= 'projects'
        self.require_files ||= []
        self.policies_files ||= Set.new
      end
    end
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
gitlab-triage-1.28.0 lib/gitlab/triage/options.rb
gitlab-triage-1.27.0 lib/gitlab/triage/options.rb
gitlab-triage-1.26.0 lib/gitlab/triage/options.rb
gitlab-triage-1.25.0 lib/gitlab/triage/options.rb
gitlab-triage-1.24.0 lib/gitlab/triage/options.rb
gitlab-triage-1.23.1 lib/gitlab/triage/options.rb
gitlab-triage-1.23.0 lib/gitlab/triage/options.rb
gitlab-triage-1.22.0 lib/gitlab/triage/options.rb
gitlab-triage-1.21.0 lib/gitlab/triage/options.rb
gitlab-triage-1.20.0 lib/gitlab/triage/options.rb
gitlab-triage-1.19.0 lib/gitlab/triage/options.rb
gitlab-triage-1.18.0 lib/gitlab/triage/options.rb
gitlab-triage-1.17.0 lib/gitlab/triage/options.rb
gitlab-triage-1.16.0 lib/gitlab/triage/options.rb
gitlab-triage-1.15.0 lib/gitlab/triage/options.rb
gitlab-triage-1.14.3 lib/gitlab/triage/options.rb
gitlab-triage-1.14.2 lib/gitlab/triage/options.rb
gitlab-triage-1.14.1 lib/gitlab/triage/options.rb
gitlab-triage-1.14.0 lib/gitlab/triage/options.rb
gitlab-triage-1.13.0 lib/gitlab/triage/options.rb