Class: Wowza::REST::Instance
- Inherits:
-
Object
- Object
- Wowza::REST::Instance
- Includes:
- Assignment::Attributes
- Defined in:
- lib/wowza/rest/instance.rb
Instance Attribute Summary collapse
-
#conn ⇒ Object
Returns the value of attribute conn.
-
#incoming_streams ⇒ Object
Returns the value of attribute incoming_streams.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
- #attributes ⇒ Object
-
#initialize(attributes = {}) ⇒ Instance
constructor
A new instance of Instance.
Constructor Details
#initialize(attributes = {}) ⇒ Instance
Returns a new instance of Instance.
9 10 11 12 |
# File 'lib/wowza/rest/instance.rb', line 9 def initialize(attributes={}) assign_attributes(attributes) if attributes super() end |
Instance Attribute Details
#conn ⇒ Object
Returns the value of attribute conn.
7 8 9 |
# File 'lib/wowza/rest/instance.rb', line 7 def conn @conn end |
#incoming_streams ⇒ Object
Returns the value of attribute incoming_streams.
7 8 9 |
# File 'lib/wowza/rest/instance.rb', line 7 def incoming_streams @incoming_streams end |
#name ⇒ Object
Returns the value of attribute name.
7 8 9 |
# File 'lib/wowza/rest/instance.rb', line 7 def name @name end |
Instance Method Details
#attributes ⇒ Object
14 15 16 17 18 |
# File 'lib/wowza/rest/instance.rb', line 14 def attributes { name: name } end |