Exception: NextcallerClient::HttpException

Inherits:
StandardError
  • Object
show all
Defined in:
lib/nextcaller_client/exceptions.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(content) ⇒ HttpException

Returns a new instance of HttpException.



7
8
9
# File 'lib/nextcaller_client/exceptions.rb', line 7

def initialize(content)
  @content = content
end

Instance Attribute Details

#contentObject (readonly)

Returns the value of attribute content.



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

def content
  @content
end