Exception: Github::Downloads::UnexpectedResponse

Inherits:
StandardError
  • Object
show all
Defined in:
lib/github/downloads.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#responseObject (readonly)

Returns the value of attribute response.



23
24
25
# File 'lib/github/downloads.rb', line 23

def response
  @response
end