Methods

Instance Public methods

identified?()

📝 Source code
# File activestorage/app/models/active_storage/blob/identifiable.rb, line 11
  def identified?
    identified
  end
🔎 See on GitHub

identify()

📝 Source code
# File activestorage/app/models/active_storage/blob/identifiable.rb, line 4
  def identify
    unless identified?
      update! content_type: identify_content_type, identified: true
      update_service_metadata
    end
  end
🔎 See on GitHub