Class: MicrosoftKiotaAbstractions::RequestConfiguration
- Inherits:
-
Object
- Object
- MicrosoftKiotaAbstractions::RequestConfiguration
- Defined in:
- lib/microsoft_kiota_abstractions/request_configuration.rb
Overview
Configuration for the request such as headers, query parameters, and middleware options.
Instance Attribute Summary collapse
-
#headers ⇒ Object
Request headers.
-
#options ⇒ Object
Request options.
-
#query_parameters ⇒ Object
Request query parameters.
Instance Method Summary collapse
-
#initialize ⇒ RequestConfiguration
constructor
A new instance of RequestConfiguration.
Constructor Details
#initialize ⇒ RequestConfiguration
Returns a new instance of RequestConfiguration.
17 18 19 20 |
# File 'lib/microsoft_kiota_abstractions/request_configuration.rb', line 17 def initialize @headers = RequestHeaders.new @options = Array.new end |
Instance Attribute Details
#headers ⇒ Object
Request headers
9 10 11 |
# File 'lib/microsoft_kiota_abstractions/request_configuration.rb', line 9 def headers @headers end |
#options ⇒ Object
Request options
12 13 14 |
# File 'lib/microsoft_kiota_abstractions/request_configuration.rb', line 12 def @options end |
#query_parameters ⇒ Object
Request query parameters
15 16 17 |
# File 'lib/microsoft_kiota_abstractions/request_configuration.rb', line 15 def query_parameters @query_parameters end |