Sha256: 8f3417420fff5f04e6eea585b37b3791b6fda4b5f9365c13779cf5f6cb5d78dc
Contents?: true
Size: 528 Bytes
Versions: 19
Compression:
Stored size: 528 Bytes
Contents
# encoding: utf-8 module Nimbu module Endpoints class Videos < Endpoint def list(*args) arguments(args) response = get_request("/videos", arguments.params) return response unless block_given? response.each { |el| yield el } end alias :all :list def get(*args) arguments(args, :required => [:video_id]) get_request("/videos/#{video_id}", arguments.params) end alias :find :get end # Authorizations end # Endpoints end # Nimbu
Version data entries
19 entries across 19 versions & 1 rubygems