Class: Gemical::Connection::HTTPUnprocessable
- Defined in:
- lib/gemical/connection.rb
Instance Attribute Summary collapse
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(response) ⇒ HTTPUnprocessable
constructor
A new instance of HTTPUnprocessable.
Constructor Details
#initialize(response) ⇒ HTTPUnprocessable
Returns a new instance of HTTPUnprocessable.
16 17 18 19 |
# File 'lib/gemical/connection.rb', line 16 def initialize(response) @response = response super "Unprocessable Entity (422)" end |
Instance Attribute Details
#response ⇒ Object (readonly)
Returns the value of attribute response.
14 15 16 |
# File 'lib/gemical/connection.rb', line 14 def response @response end |