Class: MicrosoftGraphCore::GraphRequestAdapterBase
- Inherits:
-
MicrosoftKiotaFaraday::FaradayRequestAdapter
- Object
- MicrosoftKiotaFaraday::FaradayRequestAdapter
- MicrosoftGraphCore::GraphRequestAdapterBase
- Defined in:
- lib/microsoft_graph_core/graph_request_adapter_base.rb
Instance Method Summary collapse
-
#initialize(authentication_provider, client_options = MicrosoftGraphCore::GraphClientOptions.new, parse_node_factory = MicrosoftKiotaAbstractions::ParseNodeFactoryRegistry.default_instance, serialization_writer_factory = MicrosoftKiotaAbstractions::SerializationWriterFactoryRegistry.default_instance, client = nil) ⇒ GraphRequestAdapterBase
constructor
A new instance of GraphRequestAdapterBase.
Constructor Details
#initialize(authentication_provider, client_options = MicrosoftGraphCore::GraphClientOptions.new, parse_node_factory = MicrosoftKiotaAbstractions::ParseNodeFactoryRegistry.default_instance, serialization_writer_factory = MicrosoftKiotaAbstractions::SerializationWriterFactoryRegistry.default_instance, client = nil) ⇒ GraphRequestAdapterBase
Returns a new instance of GraphRequestAdapterBase.
7 8 9 10 11 12 13 14 15 |
# File 'lib/microsoft_graph_core/graph_request_adapter_base.rb', line 7 def initialize(authentication_provider, =MicrosoftGraphCore::GraphClientOptions.new, parse_node_factory=MicrosoftKiotaAbstractions::ParseNodeFactoryRegistry.default_instance, serialization_writer_factory=MicrosoftKiotaAbstractions::SerializationWriterFactoryRegistry.default_instance, client = nil) if .nil? = MicrosoftGraphCore::GraphClientOptions.new end if client.nil? client = MicrosoftGraphCore::GraphClientFactory::get_default_http_client(nil, []) end super(authentication_provider, parse_node_factory, serialization_writer_factory, client) end |