Class: WowzaRest::Data::IncomingStreamStats
- Defined in:
- lib/wowza_rest/data/incoming_stream_stats.rb
Defined Under Namespace
Classes: ConnectionCount
Instance Attribute Summary collapse
-
#connection_count ⇒ Object
readonly
Returns the value of attribute connection_count.
Instance Method Summary collapse
-
#initialize(attrs = {}) ⇒ IncomingStreamStats
constructor
A new instance of IncomingStreamStats.
Methods inherited from Base
#define_key_getter, #include?, #keys_reader, #objects_array_to_hash_array, #setup_attributes, #to_h, #to_json, #wrap_array_objects
Constructor Details
#initialize(attrs = {}) ⇒ IncomingStreamStats
Returns a new instance of IncomingStreamStats.
8 9 10 11 12 |
# File 'lib/wowza_rest/data/incoming_stream_stats.rb', line 8 def initialize(attrs = {}) keys_reader :connectionCount @connection_count = ConnectionCount.new(attrs.delete('connectionCount')) super(attrs) end |
Instance Attribute Details
#connection_count ⇒ Object (readonly)
Returns the value of attribute connection_count.
6 7 8 |
# File 'lib/wowza_rest/data/incoming_stream_stats.rb', line 6 def connection_count @connection_count end |