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

A location/joint/business/pizza place returned from Yahoo

Attributes:

  • title - Name of the Result
  • address - Street address of the result
  • city - city in which the result is located
  • state - Hmm…possibly the state where the result is located
  • phone - push these numbers sequentually into phone device to talk directly with result
  • latitude - lat of location
  • longitude - see above but replace ‘lat’ with ‘long’ (thats what she said)
  • rating - a Rating object
  • distance - The distance as calculated by one of the following methods:
  • When you enter a street address along with your search term, this is the distance from that particular street address to each result.
  • When you enter your search term along with a city or a city and state, this is the distance from the city center to the business you‘re looking for.
  • url - the URL to the detailed page for a business
  • clickurl - The URL for linking to the detailed page for a business. See URL linking for more information.
  • mapurl - The URL of a map for the address.
  • businessurl - The URL of the business website, if known
  • businessclickurl - The URL for linking to the businesses website if known. See URL linking for more information.

Methods

new  

Attributes

ratings  [R] 
result  [R] 

Public Class methods

[Validate]