Class: OBS::WebSocket::Protocol::Responses::GetTransitionList
- Inherits:
-
OBS::WebSocket::Protocol::Response
- Object
- ServerMessage
- OBS::WebSocket::Protocol::Response
- OBS::WebSocket::Protocol::Responses::GetTransitionList
- Defined in:
- lib/obs/websocket/protocol.rb
Overview
Instance Attribute Summary collapse
-
#current_transition ⇒ String
readonly
current-transitionfield. -
#transitions ⇒ Array<Hash>
readonly
transitionsfield.
Method Summary
Methods inherited from OBS::WebSocket::Protocol::Response
Constructor Details
This class inherits a constructor from OBS::WebSocket::Protocol::Response
Instance Attribute Details
#current_transition ⇒ String (readonly)
Returns current-transition field.
4504 |
# File 'lib/obs/websocket/protocol.rb', line 4504 def current_transition; get_field("current-transition", Types::String); end |
#transitions ⇒ Array<Hash> (readonly)
Returns transitions field.
4507 |
# File 'lib/obs/websocket/protocol.rb', line 4507 def transitions; get_field("transitions", Types::Array[Types::Object[{:name=>{:type=>Types::String, :json_name=>"name"}}]]); end |