Module: CarrierWave::AWS::Record::Model::Uploaders
- Defined in:
- lib/carrierwave/aws/record/model.rb
Instance Method Summary collapse
Instance Method Details
#read_uploader(name) ⇒ Object
48 49 50 51 |
# File 'lib/carrierwave/aws/record/model.rb', line 48 def read_uploader(name) store_name = "#{name}_store".to_sym self[store_name] end |
#write_uploader(name, uploader) ⇒ Object
53 54 55 56 |
# File 'lib/carrierwave/aws/record/model.rb', line 53 def write_uploader(name,uploader) store_name = "#{name}_store".to_sym self[store_name]= uploader end |