Module: CanHaz::ModelExtensions::All

Defined in:
lib/rails-canhaz/extensions_all.rb

Instance Method Summary collapse

Instance Method Details

#canhaz_object?Bool

Returns if a model is registered as a canhaz object

Returns:

  • (Bool)

    Whether or not the model is a canhaz object



15
16
17
# File 'lib/rails-canhaz/extensions_all.rb', line 15

def canhaz_object?
  false
end

#canhaz_subject?Bool

Returns if a model is registered as a canhaz subject

Returns:

  • (Bool)

    Whether or not the model is a canhaz subject



8
9
10
# File 'lib/rails-canhaz/extensions_all.rb', line 8

def canhaz_subject?
  false
end