Sha256: b698fe84765bbe3546b8b72eff5db62b8cc59859e864cdc8dd9803757a321cd3
Contents?: true
Size: 1.72 KB
Versions: 16
Compression:
Stored size: 1.72 KB
Contents
module Vimeo module Advanced class Person < Vimeo::Advanced::Base # Adds a user to your contact list. create_api_method :add_contact, "vimeo.people.addContact", :required => [:user_id] # Adds a subscription to your subscriptions. # Types is a comma-delimited string. Valid options: "likes", "appears", "uploads" create_api_method :add_subscription, "vimeo.people.addSubscription", :required => [:user_id, :types] # Finds a user by their e-mail. create_api_method :find_by_email, "vimeo.people.findByEmail", :required => [:user_id] create_api_method :get_hd_embeds, "vimeo.people.getHDEmbeds" # Returns a user's information create_api_method :get_info, "vimeo.people.getInfo", :required => [:user_id] # Returns a user's portrait URLs. create_api_method :get_portrait_urls, "vimeo.people.getPortraitUrls", :required => [:user_id] # Removes a user from your contact list. create_api_method :remove_contact, "vimeo.people.removeContact", :required => [:user_id] # Removes a subscription to your subscriptions. # Types is a comma-delimited string. Valid options: "likes", "appears", "uploads" create_api_method :remove_subscription, "vimeo.people.removeSubscription", :required => [:user_id, :types] end # Person end # Advanced end # Vimeo
Version data entries
16 entries across 16 versions & 2 rubygems