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.



30
31
32
# File 'lib/github/downloads.rb', line 30

def initialize(response)
  @response = response
end

Instance Attribute Details

#responseObject (readonly)

Returns the value of attribute response.



28
29
30
# File 'lib/github/downloads.rb', line 28

def response
  @response
end