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.
25 26 27 |
# File 'lib/github/downloads.rb', line 25 def initialize(response) @response = response end |
Instance Attribute Details
#response ⇒ Object (readonly)
Returns the value of attribute response.
23 24 25 |
# File 'lib/github/downloads.rb', line 23 def response @response end |