Method: Anaconda::S3Uploader#form_options

Defined in:
lib/anaconda/s3_uploader.rb

#form_optionsObject



17
18
19
20
21
22
23
24
25
26
27
28
29
# File 'lib/anaconda/s3_uploader.rb', line 17

def form_options
  {
    id: @options[:id],
    method: "post",
    authenticity_token: false,
    multipart: true,
    data: {
      post: @options[:post],
      as: @options[:as],
      base_key: base_key
    }
  }
end