Exception: Seibii::Http::ServerError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/seibii/http.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(response) ⇒ ServerError

Returns a new instance of ServerError.



22
23
24
25
# File 'lib/seibii/http.rb', line 22

def initialize(response)
  super
  @response = response
end

Instance Attribute Details

#responseObject (readonly)

Returns the value of attribute response.



20
21
22
# File 'lib/seibii/http.rb', line 20

def response
  @response
end