Exception: Red5::Red5Exception

Inherits:
Exception
  • Object
show all
Defined in:
lib/red_5/exceptions/red_5_exception.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(status) ⇒ Red5Exception

Returns a new instance of Red5Exception.



5
6
7
# File 'lib/red_5/exceptions/red_5_exception.rb', line 5

def initialize status
  @status = status
end

Instance Attribute Details

#statusObject (readonly)

Returns the value of attribute status.



3
4
5
# File 'lib/red_5/exceptions/red_5_exception.rb', line 3

def status
  @status
end