Class: Vimeo::Advanced::Upload

Inherits:
Base
  • Object
show all
Defined in:
lib/vimeo/advanced/upload.rb

Instance Method Summary collapse

Methods inherited from Base

#initialize, #login_link, #upload_sig

Constructor Details

This class inherits a constructor from Vimeo::Advanced::Base

Instance Method Details

#check_upload_status(ticket_id, auth_token) ⇒ Object



15
16
17
18
19
20
21
22
23
# File 'lib/vimeo/advanced/upload.rb', line 15

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

#get_upload_ticket(auth_token) ⇒ Object



6
7
8
9
10
11
12
13
# File 'lib/vimeo/advanced/upload.rb', line 6

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

  make_request sig_options
end