class Nimbu::Endpoints::Videos
Public Instance Methods
get(*args)
click to toggle source
# File lib/nimbu-api/endpoints/videos.rb, line 16 def get(*args) arguments(args, :required => [:video_id]) get_request("/videos/#{video_id}", arguments.params) end
Also aliased as: find
list(*args) { |el| ... }
click to toggle source
# File lib/nimbu-api/endpoints/videos.rb, line 7 def list(*args) arguments(args) response = get_request("/videos", arguments.params) return response unless block_given? response.each { |el| yield el } end
Also aliased as: all