Sha256: b65c0238024cf99796d0f04ed0c9ee7d63cde008b122a3b9680504f60ff0236e

Contents?: true

Size: 357 Bytes

Versions: 1

Compression:

Stored size: 357 Bytes

Contents

module Gitlab
  module Triage
    Options = Struct.new(
      :dry_run,
      :policies_file,
      :project_id,
      :token,
      :debug,
      :host_url,
      :api_version
    ) do
      def initialize(*args)
        super

        # Defaults
        self.host_url ||= 'https://gitlab.com'
        self.api_version ||= 'v4'
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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