Skip to content

Instantly share code, notes, and snippets.

@mort
Created June 15, 2010 07:00
Show Gist options
  • Save mort/438786 to your computer and use it in GitHub Desktop.
Save mort/438786 to your computer and use it in GitHub Desktop.
# home
require 'lib/stairway'
oauth = Stairway::OAuth.new('4W3Wj1BO4T2Dglt9pNMl','5ctPK7n8V695rd1uVEPOKDcv2Ak3ptvCiplHH6Lk')
oauth.authorize_from_access('esxMpOTZxhvzCov3YzeP','nCkj2acM9HfXai6Wats5OULY0gymjIBnV39T9XJT')
traveler = Stairway::Traveler.new(oauth)
traveler.ping('54.19','-0.17')
# work
require 'lib/stairway'
oauth = Stairway::OAuth.new('ySsLWOjjLpi4W0E6sEHN','JRjIrhplCHOudJNN2dSoXyEjy1MsTUdUGaKqG88g')
oauth.authorize_from_access('PNsVMFvHEFJDKF7Lza6U','5LL66ShKVveLYZqilRv7IMfkqt58unSvdaxVIvD2')
traveler = Stairway::Traveler.new(oauth)
traveler.ping('54.19','-0.17')
@mort
Copy link
Author

mort commented Jun 15, 2010

oauth = Traveler::OAuth.new('ySsLWOjjLpi4W0E6sEHN','JRjIrhplCHOudJNN2dSoXyEjy1MsTUdUGaKqG88g')
oauth.authorize_from_access('PNsVMFvHEFJDKF7Lza6U','5LL66ShKVveLYZqilRv7IMfkqt58unSvdaxVIvD2')
traveler = Traveler::Base.new(oauth)
r = traveler.ping('45.09','-0.17')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment