Exception: Github::Downloads::UnexpectedResponse
- Inherits:
-
StandardError
- Object
- StandardError
- Github::Downloads::UnexpectedResponse
- Defined in:
- lib/github/downloads.rb
Instance Attribute Summary collapse
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(response) ⇒ UnexpectedResponse
constructor
A new instance of UnexpectedResponse.
Constructor Details
#initialize(response) ⇒ UnexpectedResponse
Returns a new instance of UnexpectedResponse.
30 31 32 |
# File 'lib/github/downloads.rb', line 30 def initialize(response) @response = response end |
Instance Attribute Details
#response ⇒ Object (readonly)
Returns the value of attribute response.
28 29 30 |
# File 'lib/github/downloads.rb', line 28 def response @response end |