Class: Wowza::REST::Instance

Inherits:
Object
  • Object
show all
Includes:
Assignment::Attributes
Defined in:
lib/wowza/rest/instance.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#connObject

Returns the value of attribute conn.



7
8
9
# File 'lib/wowza/rest/instance.rb', line 7

def conn
  @conn
end

#incoming_streamsObject

Returns the value of attribute incoming_streams.



7
8
9
# File 'lib/wowza/rest/instance.rb', line 7

def incoming_streams
  @incoming_streams
end

#nameObject

Returns the value of attribute name.



7
8
9
# File 'lib/wowza/rest/instance.rb', line 7

def name
  @name
end

Instance Method Details

#attributesObject



14
15
16
17
18
# File 'lib/wowza/rest/instance.rb', line 14

def attributes
  {
    name: name
  }
end