Method: MapQuest::Response#status

Defined in:
lib/mapquest/response.rb

#statusObject

Returns information about the response. :code is an integer return value. See www.mapquestapi.com/geocoding/status_codes.html :messages subfield is an array of error messages which describe the status.



45
46
47
# File 'lib/mapquest/response.rb', line 45

def status
  return :code => info[:statuscode].to_i, :messages => info[:messages]
end