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

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

#can?(action, field = false) ⇒ Boolean

Returns:

  • (Boolean)


63
64
65
# File 'lib/protector/adapters/sequel/model.rb', line 63

def can?(action, field=false)
  protector_meta.can?(action, field)
end