Sha256: 80c64013c92b508258e9aa1d89b945680f0b18621faed9d389857549ed800b8d

Contents?: true

Size: 678 Bytes

Versions: 17

Compression:

Stored size: 678 Bytes

Contents

module Vimeo
  module Simple

    class Group < Vimeo::Simple::Base
      # Returns a list of a group's videos.
      #
      # @param [String] group_name The groups's name.
      def self.videos(groupname)
        get("/group/#{groupname}/videos.json")
      end

      # Returns a list of a group's users.
      #
      # @param [String] group_name The groups's name.
      def self.users(groupname)
        get("/group/#{groupname}/users.json")
      end

      # Returns a group's metadata.
      #
      # @param [String] group_name The groups's name.
      def self.info(groupname)
        get("/group/#{groupname}/info.json")
      end
    end

  end # Simple
end # Vimeo

Version data entries

17 entries across 17 versions & 2 rubygems

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