Class Local::Response
In: local.rb
Parent: Object

encapsulates the response from yahoo

has one attr_reader:

body a REXML::Element containing the ResultSet returned by the request

Methods

Attributes

body  [R] 

Public Class methods

Public Instance methods

returns false if errors returns

The position of the first result in the overall search.

returns an array of Result objects

a Result is one establishment returned by your search

returns true if request was a success and no errors were returned

The number of query matches in the database.

The number of query matches returned. This may be lower than the number of results requested if there were fewer total results available.

[Validate]