Sha256: 0f898eb009954e26c9d63347c34d6bca38839283e2920a6631a8ee016a58f780

Contents?: true

Size: 462 Bytes

Versions: 1

Compression:

Stored size: 462 Bytes

Contents

module Gitlab
  module Triage
    Options = Struct.new(
      :dry_run,
      :policies_file,
      :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.source ||= 'projects'
        self.require_files ||= []
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gitlab-triage-1.2.0 lib/gitlab/triage/options.rb