Method: UriService::Client::Response#errors?
- Defined in:
- lib/uri_service/client/response.rb
#errors? ⇒ Boolean
Checks if errors are present in the response
15 16 17 |
# File 'lib/uri_service/client/response.rb', line 15 def errors? data.key?('errors') # and check status end |