instance method
parse_service_error
Ruby on Rails 1.1.6
Since v1.0.3 Last seen in v2.2.3 PrivateSignature
parse_service_error(response)
No documentation comment.
Parameters
-
responsereq
Source
# File lib/importmap/packager.rb, line 84
def parse_service_error(response)
JSON.parse(response.body.to_s)["error"]
rescue JSON::ParserError
nil
end
Defined in lib/importmap/packager.rb line 84
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Importmap::Packager