Exception: Goodcheck::ImportLoader::HTTPGetError
- Defined in:
- lib/goodcheck/import_loader.rb
Instance Attribute Summary collapse
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(res) ⇒ HTTPGetError
constructor
A new instance of HTTPGetError.
Constructor Details
#initialize(res) ⇒ HTTPGetError
Returns a new instance of HTTPGetError.
24 25 26 27 |
# File 'lib/goodcheck/import_loader.rb', line 24 def initialize(res) super("HTTP GET #{res.uri} => #{res.code} #{res.}") @response = res end |
Instance Attribute Details
#response ⇒ Object (readonly)
Returns the value of attribute response.
22 23 24 |
# File 'lib/goodcheck/import_loader.rb', line 22 def response @response end |