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.
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_decode ⇒ Object
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 |
#enabled ⇒ Object
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_key ⇒ Object
14 15 16 |
# File 'lib/microsoft_kiota_faraday/middleware/parameters_name_decoding_option.rb', line 14 def get_key() "parametersNameDecoding" end |