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.



572
573
574
575
# File 'lib/rfetion/fetion.rb', line 572

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.



570
571
572
# File 'lib/rfetion/fetion.rb', line 570

def first_line
  @first_line
end

#messageObject (readonly)

Returns the value of attribute message.



570
571
572
# File 'lib/rfetion/fetion.rb', line 570

def message
  @message
end