Module: Uploadable::ClassMethods
- Defined in:
- lib/uploadable.rb
Instance Method Summary collapse
Instance Method Details
#uploadable(options = {}) ⇒ Object
15 16 17 |
# File 'lib/uploadable.rb', line 15 def uploadable = {} @upload_processor = Uploadable::Processor.new :model => self, :mandatory_fields => [:mandatory_fields], :optional_fields => [:optional_fields] end |