Sha256: 134d97654669711fd205cff678d4b511617efc84084f8563d875afa245d2d9d7

Contents?: true

Size: 524 Bytes

Versions: 6

Compression:

Stored size: 524 Bytes

Contents

# frozen_string_literal: true
require 'microsoft_kiota_abstractions'
require_relative '../version.rb'
module MicrosoftKiotaFaraday
    module Middleware
        class UserAgentOption
            include MicrosoftKiotaAbstractions::RequestOption
            attr_accessor :enabled, :product_name, :product_version
			def initialize()
				@enabled = true
				@product_name = "kiota-ruby"
				@product_version = MicrosoftKiotaFaraday::VERSION
			end

			def get_key()
                "userAgent"
            end
		end
	end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
microsoft_kiota_faraday-0.15.0 lib/microsoft_kiota_faraday/middleware/user_agent_option.rb
microsoft_kiota_faraday-0.14.0 lib/microsoft_kiota_faraday/middleware/user_agent_option.rb
microsoft_kiota_faraday-0.13.0 lib/microsoft_kiota_faraday/middleware/user_agent_option.rb
microsoft_kiota_faraday-0.12.0 lib/microsoft_kiota_faraday/middleware/user_agent_option.rb
microsoft_kiota_faraday-0.11.0 lib/microsoft_kiota_faraday/middleware/user_agent_option.rb
microsoft_kiota_faraday-0.10.0 lib/microsoft_kiota_faraday/middleware/user_agent_option.rb