Methods

Instance Public methods

identified?()

# File activestorage/app/models/active_storage/blob/identifiable.rb, line 11
def identified?
  identified
end

identify()

# 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