class HasOffersV3::InternalError
Public Class Methods
detect(response)
click to toggle source
# File lib/hasoffersv3/api_error.rb, line 43 def self.detect(response) # E.g. "There was a database error with the trackable id [SE-5888e90b944af]. Contact support for more assistance." response.error_messages.grep(/error with the trackable id/).first end