Class: MultiVideoStreaming::DriverResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(platform_name:, status:, original_status_code:, data:, message:) ⇒ DriverResponse

Returns a new instance of DriverResponse.



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

def initialize(platform_name:, status:, original_status_code:, data:, message:)
  self.platform_name = platform_name
  self.status = status
  self.original_status_code = original_status_code
  self.data = data
  self.message = message
end

Instance Attribute Details

#dataObject

Returns the value of attribute data.



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

def data
  @data
end

#messageObject

Returns the value of attribute message.



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

def message
  @message
end

#original_status_codeObject

Returns the value of attribute original_status_code.



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

def original_status_code
  @original_status_code
end

#platform_nameObject

Returns the value of attribute platform_name.



5
6
7
# File 'lib/multi_video_streaming/response.rb', line 5

def platform_name
  @platform_name
end

#statusObject

Returns the value of attribute status.



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

def status
  @status
end