Class: MultiVideoStreaming::DriverResponse
- Inherits:
-
Object
- Object
- MultiVideoStreaming::DriverResponse
- Defined in:
- lib/multi_video_streaming/response.rb
Instance Attribute Summary collapse
-
#data ⇒ Object
readonly
Returns the value of attribute data.
-
#message ⇒ Object
readonly
Returns the value of attribute message.
-
#original_status_code ⇒ Object
readonly
Returns the value of attribute original_status_code.
-
#platform_name ⇒ Object
readonly
Returns the value of attribute platform_name.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(platform_name:, status:, original_status_code:, data:, message:) ⇒ DriverResponse
constructor
A new instance of DriverResponse.
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. = end |
Instance Attribute Details
#data ⇒ Object
Returns the value of attribute data.
14 15 16 |
# File 'lib/multi_video_streaming/response.rb', line 14 def data @data end |
#message ⇒ Object
Returns the value of attribute message.
17 18 19 |
# File 'lib/multi_video_streaming/response.rb', line 17 def @message end |
#original_status_code ⇒ Object
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_name ⇒ Object
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 |
#status ⇒ Object
Returns the value of attribute status.
8 9 10 |
# File 'lib/multi_video_streaming/response.rb', line 8 def status @status end |