Sha256: 7e1794daa7815396f998136c64ab28ba58b6dcefc9c380dfb0aa352e8ef9dc98

Contents?: true

Size: 627 Bytes

Versions: 1

Compression:

Stored size: 627 Bytes

Contents

module Vimeo
  module Advanced
    class Auth < Vimeo::Advanced::Base
      
      # Tests the validity of an authorization token.
      create_api_method :check_token,
                        "vimeo.auth.checkToken",
                        :required => [:auth_token]

      # Obtains a frob.
      # Used for desktop based authentication.
      create_api_method :get_frob,
                        "vimeo.auth.getFrob"

      # Obtains an authorization token.
      create_api_method :get_token,
                        "vimeo.auth.getToken",
                        :required => [:frob]

    end
  end # Advanced
end # Vimeo

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vimeo-1.0.0 lib/vimeo/advanced/auth.rb