Class: MultiVideoStreaming::Protocols::Platform

Inherits:
Object
  • Object
show all
Extended by:
Interface
Defined in:
lib/multi_video_streaming/protocols/platform.rb

Direct Known Subclasses

Drivers::Bunny, Drivers::S3, Drivers::Vimeo

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Interface

method

Constructor Details

#initialize(dependency_params:, response_instance:, required_fields_validator_instance:, https_service_instance:) ⇒ Platform

Returns a new instance of Platform.



20
21
22
23
24
25
# File 'lib/multi_video_streaming/protocols/platform.rb', line 20

def initialize(dependency_params:, response_instance:, required_fields_validator_instance:, https_service_instance:)
  self.dependency_params = dependency_params
  self.response_instance = response_instance
  self.required_fields_validator_instance = required_fields_validator_instance
  self.https_service_instance = https_service_instance
end

Instance Attribute Details

#dependency_paramsObject

Returns the value of attribute dependency_params.



8
9
10
# File 'lib/multi_video_streaming/protocols/platform.rb', line 8

def dependency_params
  @dependency_params
end

#https_service_instanceObject

Returns the value of attribute https_service_instance.



17
18
19
# File 'lib/multi_video_streaming/protocols/platform.rb', line 17

def https_service_instance
  @https_service_instance
end

#required_fields_validator_instanceObject

Returns the value of attribute required_fields_validator_instance.



14
15
16
# File 'lib/multi_video_streaming/protocols/platform.rb', line 14

def required_fields_validator_instance
  @required_fields_validator_instance
end

#response_instanceObject

Returns the value of attribute response_instance.



11
12
13
# File 'lib/multi_video_streaming/protocols/platform.rb', line 11

def response_instance
  @response_instance
end