Sha256: 5c72d79739a0c8aa1965a440c28271fc92be174b34e11b09849ecd414dbae31b
Contents?: true
Size: 787 Bytes
Versions: 10
Compression:
Stored size: 787 Bytes
Contents
module Vimeo module Advanced class Auth < Vimeo::Advanced::Base # Obtains an authorization token. def get_token(frob) sig_options = { :frob => frob, :method => "vimeo.auth.getToken" } make_request sig_options end # Obtains a frob. # Used for desktop based authentication. def get_frob sig_options = { :method => "vimeo.auth.getFrob" } make_request sig_options end # Tests the validity of an authorization token. def check_token(auth_token) sig_options = { :auth_token => auth_token, :method => "vimeo.auth.checkToken" } make_request sig_options end end end # Advanced end # Vimeo
Version data entries
10 entries across 10 versions & 5 rubygems