aboutsummaryrefslogtreecommitdiffstats
path: root/activestorage/app/models/active_storage/blob/identifiable.rb
blob: 40ca84ac700221b41cb944fd77a6ec7b90a6a546 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

module ActiveStorage::Blob::Identifiable
  def identify
    ActiveStorage::Identification.new(self).apply
  end

  def identified?
    identified
  end
end