Module: Shrine::Plugins::DeletePromoted::AttacherMethods
- Defined in:
- lib/shrine/plugins/delete_promoted.rb
Instance Method Summary collapse
Instance Method Details
#promote(uploaded_file = get, **options) ⇒ Object
10 11 12 13 14 |
# File 'lib/shrine/plugins/delete_promoted.rb', line 10 def promote(uploaded_file = get, **) result = super _delete(uploaded_file, action: :promote) result end |