Browse files

Removed definit and OAuth req as per request.

  • Loading branch information...
1 parent bb88ab5 commit ef6551644d6bd8072798f48a9d1d628e80dfcacf @slickplaid slickplaid committed Jun 27, 2011
Showing with 0 additions and 14 deletions.
  1. +0 −14 lib/modules/vimeo.js
View
14 lib/modules/vimeo.js
@@ -1,25 +1,11 @@
var oauthModule = require('./oauth')
- , OAuth = require('oauth').OAuth;
var vimeo = module.exports =
oauthModule.submodule('vimeo')
- .definit( function () {
- this.oauth = new OAuth(
- this.oauthHost() + this.requestTokenPath()
- , this.oauthHost() + this.accessTokenPath()
- , this.consumerKey()
- , this.consumerSecret()
- , '1.0', null, 'HMAC-SHA1', null
- );
- })
.apiHost('http://vimeo.com/api/rest/v2')
.oauthHost('http://vimeo.com')
- .requestTokenPath('/oauth/request_token')
- .authorizePath('/oauth/authorize')
- .accessTokenPath('/oauth/access_token')
-
.entryPath('/auth/vimeo')
.callbackPath('/auth/vimeo/callback')

0 comments on commit ef65516

Please sign in to comment.