Sha256: b2d99a3f6b4a938a3d85fb6e45b00049afbf1239da6509944ff438a62d8d512f
Contents?: true
Size: 574 Bytes
Versions: 27
Compression:
Stored size: 574 Bytes
Contents
# http://www.vimeo.com/api/docs/oauth # http://www.vimeo.com/api/applications/new # http://vimeo.com/api/applications class VimeoToken < OauthToken key do |access_token| body = JSON.parse(access_token.get("http://vimeo.com/api/v2/#{access_token.token}/info.json")) user_id = body.first["id"] end settings "http://vimeo.com", :request_token_path => "/oauth/request_token", :authorize_path => "/oauth/authorize", :access_token_path => "/oauth/access_token", :http_method => "get", :scheme => :query_string end
Version data entries
27 entries across 27 versions & 9 rubygems