Sha256: ca9c914c9a57affd465f3177730d5b626f48c44fc407bab0819ee15f26c99960
Contents?: true
Size: 302 Bytes
Versions: 1
Compression:
Stored size: 302 Bytes
Contents
# This is a Tripit API client demo built on top of OAuthClient require 'oauth_client' class TripitOAuth < OAuthClient::Client site 'https://api.tripit.com' def info json.get('/v1/get/profile?format=json') end def trips json.get('/v1/list/trip/traveler/true?format=json') end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
oauth-client-0.1.0 | demos/tripit_oauth.rb |