Sha256: e76bf9585bcbb89ee1b511e56a04d93e78aeb884579d3c946ebb2a88b5c9b569

Contents?: true

Size: 1.07 KB

Versions: 16

Compression:

Stored size: 1.07 KB

Contents

module Vimeo
  module Advanced
    class Contact < Vimeo::Advanced::Base

      # Returns a list of a user's contacts.
      create_api_method :get_all,
                        "vimeo.contacts.getAll",
                        :required => [:user_id],
                        :optional => [:page, :per_page, :sort]

      # Returns a list of your mutual contacts with a user.
      create_api_method :get_mutual,
                        "vimeo.contacts.getMutual",
                        :required => [:user_id],
                        :optional => [:page, :per_page]

      # Returns a list of your contacts who are online.
      create_api_method :get_online,
                        "vimeo.contacts.getOnline",
                        :optional => [:page, :per_page]
      
      # Returns a list of users who added a user as a contact.
      create_api_method :get_who_added,
                        "vimeo.contacts.getWhoAdded",
                        :required => [:user_id],
                        :optional => [:page, :per_page, :sort]

    end # Contact
  end # Advanced
end # Vimeo

Version data entries

16 entries across 16 versions & 2 rubygems

Version Path
vimeo-1.5.4 lib/vimeo/advanced/contact.rb
vimeo-1.5.3 lib/vimeo/advanced/contact.rb
slainer68_vimeo-1.5.2 lib/vimeo/advanced/contact.rb
vimeo-1.5.2 lib/vimeo/advanced/contact.rb
vimeo-1.5.1 lib/vimeo/advanced/contact.rb
vimeo-1.5.0 lib/vimeo/advanced/contact.rb
slainer68_vimeo-1.4.4 lib/vimeo/advanced/contact.rb
slainer68_vimeo-1.4.3 lib/vimeo/advanced/contact.rb
vimeo-1.4.3 lib/vimeo/advanced/contact.rb
vimeo-1.4.2 lib/vimeo/advanced/contact.rb
vimeo-1.4.1 lib/vimeo/advanced/contact.rb
vimeo-1.4.0 lib/vimeo/advanced/contact.rb
vimeo-1.3.0 lib/vimeo/advanced/contact.rb
vimeo-1.2.2 lib/vimeo/advanced/contact.rb
vimeo-1.2.0 lib/vimeo/advanced/contact.rb
vimeo-1.1.0 lib/vimeo/advanced/contact.rb