Exception: Seibii::Http::ClientError

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(response) ⇒ ClientError

Returns a new instance of ClientError.



13
14
15
16
# File 'lib/seibii/http.rb', line 13

def initialize(response)
  super
  @response = response
end

Instance Attribute Details

#responseObject (readonly)

Returns the value of attribute response.



11
12
13
# File 'lib/seibii/http.rb', line 11

def response
  @response
end