Exception: Fetion::SipcException

Inherits:
FetionException show all
Defined in:
lib/rfetion/fetion.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(sipc_response, message) ⇒ SipcException

Returns a new instance of SipcException.



483
484
485
486
# File 'lib/rfetion/fetion.rb', line 483

def initialize(sipc_response, message)
  @first_line = sipc_response.first_line
  @message = message
end

Instance Attribute Details

#first_lineObject (readonly)

Returns the value of attribute first_line.



481
482
483
# File 'lib/rfetion/fetion.rb', line 481

def first_line
  @first_line
end

#messageObject (readonly)

Returns the value of attribute message.



481
482
483
# File 'lib/rfetion/fetion.rb', line 481

def message
  @message
end