Parent

VzaarController

Public Instance Methods

index() click to toggle source
   # File lib/rails/controllers/vzaar_controller.rb, line 3
3:   def index
4:     respond_to do |format|
5:       format.html
6:     end
7:   end
process_video() click to toggle source
    # File lib/rails/controllers/vzaar_controller.rb, line 9
 9:   def process_video
10:     guid = params[:guid]
11:     title = params[:filename]
12:     Vzaar.connection.process_video :guid => guid, :title => title,
13:       :description => 'some description',
14:       :profile => '1' 
15:     render :nothing => true
16:   end
signature() click to toggle source
    # File lib/rails/controllers/vzaar_controller.rb, line 18
18:   def signature
19:     signature = Vzaar.connection.signature :flash_request => true
20:     json_signature = {}
21:     json_signature[:AWSAccessKeyId] = signature.aws_access_key
22:     json_signature[:key] = signature.key
23:     json_signature[:acl] = signature.acl
24:     json_signature[:policy] = signature.policy
25:     json_signature[:signature] = signature.signature
26:     json_signature[:success_action_status] = '201'
27:     json_signature['content-type'] = 'binary/octet-stream'
28:     json_signature[:guid] = signature.guid
29:     respond_to do |format|
30:       format.json do
31:         render :json => json_signature.to_json
32:       end 
33:     end 
34:   end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.