Exception: PaylocityWebService::Error
- Inherits:
-
StandardError
- Object
- StandardError
- PaylocityWebService::Error
- Defined in:
- lib/paylocity_web_service/error.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#response ⇒ Object
Returns the value of attribute response.
Class Method Summary collapse
-
.from_response(response) ⇒ PaylocityWebService::Error
Returns the appropriate PaylocityWebService::Error subclass based on status and response message.
Instance Attribute Details
#response ⇒ Object
Returns the value of attribute response.
3 4 5 |
# File 'lib/paylocity_web_service/error.rb', line 3 def response @response end |
Class Method Details
.from_response(response) ⇒ PaylocityWebService::Error
Returns the appropriate PaylocityWebService::Error subclass based on status and response message