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