Class: MicrosoftKiotaFaraday::Middleware::ParametersNameDecodingOption

Inherits:
Object
  • Object
show all
Includes:
MicrosoftKiotaAbstractions::RequestOption
Defined in:
lib/microsoft_kiota_faraday/middleware/parameters_name_decoding_option.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(enabled = true, characters_to_decode = ['$', '.', '-', '~']) ⇒ ParametersNameDecodingOption

Returns a new instance of ParametersNameDecodingOption.



9
10
11
12
# File 'lib/microsoft_kiota_faraday/middleware/parameters_name_decoding_option.rb', line 9

def initialize(enabled = true, characters_to_decode = ['$', '.', '-', '~'])
    @enabled = enabled
    @characters_to_decode = characters_to_decode
end

Instance Attribute Details

#characters_to_decodeObject

Returns the value of attribute characters_to_decode.



7
8
9
# File 'lib/microsoft_kiota_faraday/middleware/parameters_name_decoding_option.rb', line 7

def characters_to_decode
  @characters_to_decode
end

#enabledObject

Returns the value of attribute enabled.



7
8
9
# File 'lib/microsoft_kiota_faraday/middleware/parameters_name_decoding_option.rb', line 7

def enabled
  @enabled
end

Instance Method Details

#get_keyObject



14
15
16
# File 'lib/microsoft_kiota_faraday/middleware/parameters_name_decoding_option.rb', line 14

def get_key()
    "parametersNameDecoding"
end