Class FireEagle::User
In: lib/fireeagle/user.rb
Parent: Object

Methods

best_guess   located_at   locations   new   token  

Public Class methods

Parses the XML response from FireEagle.

Public Instance methods

FireEagle‘s "best guess" form this User‘s Location. This best guess is derived as the most accurate level of the hierarchy with a timestamp in the last half an hour or as the most accurate level of the hierarchy with the most recent timestamp.

The time at which this user was last located

An Array containing all Location granularity that the Client has been allowed to see for the User. The Location elements returned are arranged in hierarchy order consisting of: Country, State, County, Large Cities, Neighbourhoods/Local Area, Postal Code and exact location. The Application should therefore be prepared to receive a response that may consist of (1) only country, or (2) country & state or (3) country, state & county and so forth.

The User-specific token for this Client.

[Validate]