class HasOffersV3::FieldError

Public Class Methods

detect(response) click to toggle source
# File lib/hasoffersv3/api_error.rb, line 37
def self.detect(response)
  response.error_messages.grep(/Field '.*' does not exist or is not allowed to be used./).first
end