lib/creditsafe/messages.rb in creditsafe-0.6.3 vs lib/creditsafe/messages.rb in creditsafe-0.7.0
- old
+ new
@@ -29,11 +29,11 @@
else Creditsafe::UnknownApiError
end
end
end
- # rubocop:disable Metrics/LineLength
+ # rubocop:disable Layout/LineLength
NO_RESULTS = Message.new(code: "010101", message: "No results")
TOO_MANY_RESULTS = Message.new(code: "010102", message: "Too many results")
REPORT_UNAVAILABLE = Message.new(code: "010103", message: "Report unavailable", error: true)
REPORT_UNAVAILABLE_LEGAL = Message.new(code: "010104", message: "Report unavailable due to legal causes", error: true)
REPORT_UNAVAILABLE_ONLINE = Message.new(code: "010105", message: "Report unavailable online", error: true)
@@ -52,10 +52,10 @@
ENDPOINT_SHUTDOWN = Message.new(code: "030203", message: "Endpoint shutdown", error: true)
UNEXPECTED_INTERNAL_ERROR = Message.new(code: "040101", message: "Unexpected internal error", error: true)
OTHER_ERROR = Message.new(code: "040102", message: "Other", error: true)
DATA_SERVICE_PROBLEMS = Message.new(code: "040103", message: "Data service access problems", error: true)
DATA_SERVICE_INVALID_RESPONSE = Message.new(code: "040104", message: "Data service invalid response", error: true)
- # rubocop:enable Metrics/LineLength
+ # rubocop:enable Layout/LineLength
ALL = [
NO_RESULTS,
TOO_MANY_RESULTS,
REPORT_UNAVAILABLE,