module Shrine::Plugins::DeletePromoted::AttacherMethods

  1. lib/shrine/plugins/delete_promoted.rb

Methods

Public Instance

  1. promote

Public Instance methods

promote (uploaded_file = get, **options)
[show source]
# File lib/shrine/plugins/delete_promoted.rb, line 11
def promote(uploaded_file = get, **options)
  result = super
  _delete(uploaded_file, action: :promote)
  result
end