Sha256: 01d9893b215312e104f27881e3b75f139de9b61801ac1b716fb04f620c538e51

Contents?: true

Size: 518 Bytes

Versions: 17

Compression:

Stored size: 518 Bytes

Contents

module Vimeo
  module Simple

    class Channel < Vimeo::Simple::Base      
      # Returns a list of a channel's videos.
      #
      # @param [String] channelname The channel's name.
      def self.videos(channelname)
        get("/channel/#{channelname}/videos.json")
      end
      
      # Returns a channel's metadata.
      #
      # @param [String] channelname The channel's name.
      def self.info(channelname)
        get("/channel/#{channelname}/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/channel.rb
vimeo-1.5.3 lib/vimeo/simple/channel.rb
slainer68_vimeo-1.5.2 lib/vimeo/simple/channel.rb
vimeo-1.5.2 lib/vimeo/simple/channel.rb
vimeo-1.5.1 lib/vimeo/simple/channel.rb
vimeo-1.5.0 lib/vimeo/simple/channel.rb
slainer68_vimeo-1.4.4 lib/vimeo/simple/channel.rb
slainer68_vimeo-1.4.3 lib/vimeo/simple/channel.rb
vimeo-1.4.3 lib/vimeo/simple/channel.rb
vimeo-1.4.2 lib/vimeo/simple/channel.rb
vimeo-1.4.1 lib/vimeo/simple/channel.rb
vimeo-1.4.0 lib/vimeo/simple/channel.rb
vimeo-1.3.0 lib/vimeo/simple/channel.rb
vimeo-1.2.2 lib/vimeo/simple/channel.rb
vimeo-1.2.0 lib/vimeo/simple/channel.rb
vimeo-1.1.0 lib/vimeo/simple/channel.rb
vimeo-1.0.0 lib/vimeo/simple/channel.rb