Class: MicrosoftKiotaFaraday::Middleware::ParametersNameDecodingOption
- Inherits:
-
Object
- Object
- MicrosoftKiotaFaraday::Middleware::ParametersNameDecodingOption
- Includes:
- MicrosoftKiotaAbstractions::RequestOption
- Defined in:
- lib/microsoft_kiota_faraday/middleware/parameters_name_decoding_option.rb
Instance Attribute Summary collapse
-
#characters_to_decode ⇒ Object
Returns the value of attribute characters_to_decode.
-
#enabled ⇒ Object
Returns the value of attribute enabled.
Instance Method Summary collapse
- #get_key ⇒ Object
-
#initialize(enabled = true, characters_to_decode = ['$', '.', '-', '~']) ⇒ ParametersNameDecodingOption
constructor
A new instance of ParametersNameDecodingOption.
Constructor Details
#initialize(enabled = true, characters_to_decode = ['$', '.', '-', '~']) ⇒ ParametersNameDecodingOption
Returns a new instance of ParametersNameDecodingOption.
11 12 13 14 |
# File 'lib/microsoft_kiota_faraday/middleware/parameters_name_decoding_option.rb', line 11 def initialize(enabled = true, characters_to_decode = ['$', '.', '-', '~']) @enabled = enabled @characters_to_decode = characters_to_decode end |
Instance Attribute Details
#characters_to_decode ⇒ Object
Returns the value of attribute characters_to_decode.
9 10 11 |
# File 'lib/microsoft_kiota_faraday/middleware/parameters_name_decoding_option.rb', line 9 def characters_to_decode @characters_to_decode end |
#enabled ⇒ Object
Returns the value of attribute enabled.
9 10 11 |
# File 'lib/microsoft_kiota_faraday/middleware/parameters_name_decoding_option.rb', line 9 def enabled @enabled end |
Instance Method Details
#get_key ⇒ Object
16 17 18 |
# File 'lib/microsoft_kiota_faraday/middleware/parameters_name_decoding_option.rb', line 16 def get_key 'parametersNameDecoding' end |