Class: Rolify::Adapter::ResourceAdapterBase

Inherits:
Base
  • Object
show all
Defined in:
lib/rolify/adapters/base.rb

Direct Known Subclasses

ResourceAdapter

Instance Method Summary collapse

Methods inherited from Base

create, #initialize, #relation_types_for, #role_class, #role_table, #user_class

Constructor Details

This class inherits a constructor from Rolify::Adapter::Base

Instance Method Details

#in(resources, roles) ⇒ Object

Raises:

  • (NotImplementedError)


59
60
61
# File 'lib/rolify/adapters/base.rb', line 59

def in(resources, roles)
  raise NotImplementedError.new("You must implement in")
end

#resources_find(roles_table, relation, role_name) ⇒ Object

Raises:

  • (NotImplementedError)


55
56
57
# File 'lib/rolify/adapters/base.rb', line 55

def resources_find(roles_table, relation, role_name)
  raise NotImplementedError.new("You must implement resources_find")
end