Sha256: 72a9ea6401a0ac649f6bb51308fed0283528ec324e53ed30db148bc309b71ca5

Contents?: true

Size: 577 Bytes

Versions: 5

Compression:

Stored size: 577 Bytes

Contents

module Vimeo
  module Advanced

    class Upload < Vimeo::Advanced::Base

      def get_upload_ticket(auth_token)
        sig_options = {
          :auth_token => auth_token,
          :method => "vimeo.videos.getUploadTicket"
        }

        make_request sig_options
      end

      def check_upload_status(ticket_id, auth_token)
        sig_options = {
          :ticket_id => ticket_id,
          :auth_token => auth_token,
          :method => "vimeo.videos.checkUploadStatus"
        }

        make_request sig_options
      end

    end

  end # Advanced
end # Vimeo

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
jwbynum-vimeo-0.2.1 lib/vimeo/advanced/upload.rb
jwbynum-vimeo-0.2.2 lib/vimeo/advanced/upload.rb
jwbynum-vimeo-0.2.3 lib/vimeo/advanced/upload.rb
matthooks-vimeo-0.2.1 lib/vimeo/advanced/upload.rb
matthooks-vimeo-0.2.2 lib/vimeo/advanced/upload.rb