Exception: PortfolioManager::HTTPRequestError

Inherits:
Error
  • Object
show all
Defined in:
lib/portfolio_manager/client.rb

Overview

HTTP Request Error

Direct Known Subclasses

HTTPBasicCredentialsNotFoundError

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(request, *args) ⇒ HTTPRequestError

Default constructor.

Parameters:

  • request (Net::HTTPRequest)
  • args (Array<Object>)


15
16
17
18
19
# File 'lib/portfolio_manager/client.rb', line 15

def initialize(request, *args)
  super(*args)

  @request = request
end

Instance Attribute Details

#requestObject (readonly)

Returns the value of attribute request.



9
10
11
# File 'lib/portfolio_manager/client.rb', line 9

def request
  @request
end