Class: MicrosoftGraph::GraphRequestAdapter

Inherits:
MicrosoftGraphCore::GraphRequestAdapterBase
  • Object
show all
Defined in:
lib/graph_request_adapter.rb

Instance Method Summary collapse

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) ⇒ GraphRequestAdapter

Returns a new instance of GraphRequestAdapter.



6
7
8
9
10
11
# File 'lib/graph_request_adapter.rb', line 6

def initialize(authentication_provider, client_options=MicrosoftGraphCore::GraphClientOptions.new, parse_node_factory=MicrosoftKiotaAbstractions::ParseNodeFactoryRegistry.default_instance, serialization_writer_factory=MicrosoftKiotaAbstractions::SerializationWriterFactoryRegistry.default_instance, client = nil)
	options = MicrosoftGraphCore::GraphClientOptions.new
	options.graph_service_library_version = "v" + MicrosoftGraph::VersionInformation::VERSION
	options.graph_service_version = "beta"
	super(authentication_provider, options, parse_node_factory, serialization_writer_factory, client)
end