ConsumerToken
For more information on FireEagle fireeagle.rubyforge.org/
# File lib/oauth/models/consumers/services/fireeagle_token.rb, line 13 13: def client 14: @client||=FireEagle::Client.new :consumer_key => FireeagleToken.consumer.key, 15: :consumer_secret => FireeagleToken.consumer.secret, 16: :access_token => token, 17: :access_token_secret => secret 18: end
Returns the FireEagle User object fireeagle.rubyforge.org/classes/FireEagle/User.html
# File lib/oauth/models/consumers/services/fireeagle_token.rb, line 22 22: def fireeagle_user 23: @fireeagle_user||=client.user 24: end
gives you the best guess of a location for user. This returns the FireEagle Location object: fireeagle.rubyforge.org/classes/FireEagle/Location.html
# File lib/oauth/models/consumers/services/fireeagle_token.rb, line 29 29: def location 30: fireeagle_user.best_guess.name 31: end
Updates thes users location see: fireeagle.rubyforge.org/classes/FireEagle/Client.html#M000026
# File lib/oauth/models/consumers/services/fireeagle_token.rb, line 35 35: def update_location(location={}) 36: client.update(location) 37: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.