Class: MultiVideoStreaming::Factories::Drive

Inherits:
Object
  • Object
show all
Defined in:
lib/multi_video_streaming/factories/drive.rb

Constant Summary collapse

PLATFORM_DRIVERS =
{}

Class Method Summary collapse

Class Method Details

.get_platform_instance(platform_name:, dependency_params:, response_instance:, required_fields_validator_instance:, https_service_instance:) ⇒ Object



12
13
14
15
16
17
18
19
# File 'lib/multi_video_streaming/factories/drive.rb', line 12

def self.get_platform_instance(platform_name:, dependency_params:, response_instance:, required_fields_validator_instance:, https_service_instance:)
  PLATFORM_DRIVERS[platform_name].new(
    dependency_params: dependency_params,
    response_instance: response_instance,
    required_fields_validator_instance: required_fields_validator_instance,
    https_service_instance: https_service_instance
  )
end