X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/ef7f3d800cbdd49b692df10d312e5fd880e2e938..8e404f3a468a2636481d52f245b816c41e9d5ac0:/lib/quova.rb?ds=sidebyside diff --git a/lib/quova.rb b/lib/quova.rb index 9a4fb3bf8..6cfc2ff92 100644 --- a/lib/quova.rb +++ b/lib/quova.rb @@ -1,6 +1,6 @@ ## # Load required libraries -require 'soap/wsdlDriver' +require "soap/wsdlDriver" ## # Monkey patch WSDL parser to stop it moaning @@ -22,15 +22,15 @@ module Quova ## # Status codes - Success = 0 - IPV6NoSupport = 1 - InvalidCredentials = 2 - NotMapped = 3 - InvalidIPFormat = 4 - IPAddressNull = 5 - AccessDenied = 6 - QueryLimit = 7 - OutOfService = 10 + SUCCESS = 0 + IPV6_NO_SUPPORT = 1 + INVALID_CREDENTIALS = 2 + NOT_MAPPED = 3 + INVALID_IP_FORMAT = 4 + IP_ADDRESS_NULL = 5 + ACCESS_DENIED = 6 + QUERY_LIMIT = 7 + OUT_OF_SERVICE = 10 ## # Create SOAP endpoint