Sha256: f1c3f25de49ca361f5e2db4d2ab0fff5a6c83741587069c952abf4c197445213

Contents?: true

Size: 290 Bytes

Versions: 15

Compression:

Stored size: 290 Bytes

Contents

module Vzaar
  module Request
    class VideoList < Base
      endpoint { |o| "/api/#{o.login}/videos" }
      resource "VideoCollection"

      def url_params
        super.merge({ page: options[:page] || 1 })
      end

      def login
        options[:login]
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
vzaar-1.6.2 lib/vzaar/request/video_list.rb
vzaar-1.6.1 lib/vzaar/request/video_list.rb
vzaar-1.6.0 lib/vzaar/request/video_list.rb
vzaar-1.5.3 lib/vzaar/request/video_list.rb
vzaar-1.5.2 lib/vzaar/request/video_list.rb
vzaar-1.5.1 lib/vzaar/request/video_list.rb
vzaar-1.5.0 lib/vzaar/request/video_list.rb
vzaar-1.4.4 lib/vzaar/request/video_list.rb
vzaar-1.4.1 lib/vzaar/request/video_list.rb
vzaar-1.3.1 lib/vzaar/request/video_list.rb
vzaar-1.3.0 lib/vzaar/request/video_list.rb
vzaar-1.2.4 lib/vzaar/request/video_list.rb
vzaar-1.2.3 lib/vzaar/request/video_list.rb
vzaar-1.2.2 lib/vzaar/request/video_list.rb
vzaar-1.0.0 lib/vzaar/request/video_list.rb