Exception: Gettc::IDNotAvailable
- Inherits:
-
HttpError
- Object
- StandardError
- DownloadError
- HttpError
- Gettc::IDNotAvailable
- Defined in:
- lib/gettc/download.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
Attributes inherited from HttpError
Instance Method Summary collapse
-
#initialize(id, request, response, message = "Problem ID not available") ⇒ IDNotAvailable
constructor
A new instance of IDNotAvailable.
Constructor Details
#initialize(id, request, response, message = "Problem ID not available") ⇒ IDNotAvailable
Returns a new instance of IDNotAvailable.
63 64 65 66 |
# File 'lib/gettc/download.rb', line 63 def initialize(id, request, response, = "Problem ID not available") @id = id super request, response, "#{}: #{id}" end |
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id.
61 62 63 |
# File 'lib/gettc/download.rb', line 61 def id @id end |