Method: Protector::Adapters::Sequel::Model#destroyable?

Defined in:
lib/protector/adapters/sequel/model.rb

#destroyable?Boolean

Checks if current model can be destroyed in the context of current subject

Returns:

  • (Boolean)


59
60
61
# File 'lib/protector/adapters/sequel/model.rb', line 59

def destroyable?
  protector_meta.destroyable?
end