Class: Uploadify::Rails::Configuration
- Inherits:
-
Object
- Object
- Uploadify::Rails::Configuration
- Defined in:
- lib/uploadify-rails/configuration.rb
Instance Attribute Summary collapse
-
#formData ⇒ Object
Returns the value of attribute formData.
Instance Method Summary collapse
Instance Attribute Details
#formData ⇒ Object
Returns the value of attribute formData.
50 51 52 |
# File 'lib/uploadify-rails/configuration.rb', line 50 def formData @formData end |
Instance Method Details
#uploadify_options ⇒ Object
53 54 55 56 57 |
# File 'lib/uploadify-rails/configuration.rb', line 53 def protection_token, , auth_token generate_option_hash do |option_hash| option_hash[:formData] = required_form_data(protection_token, , auth_token).merge(@formData || {}) end end |