Module: EffectiveOrganizations

Includes:
EffectiveGem
Defined in:
lib/effective_organizations.rb,
lib/effective_organizations/engine.rb,
lib/effective_organizations/version.rb

Defined Under Namespace

Classes: Engine

Constant Summary collapse

VERSION =
'0.2.2'.freeze

Class Method Summary collapse

Class Method Details

.config_keysObject



8
9
10
11
12
13
# File 'lib/effective_organizations.rb', line 8

def self.config_keys
  [
    :organizations_table_name, :representatives_table_name, :layout,
    :organization_class_name
  ]
end

.OrganizationObject



17
18
19
# File 'lib/effective_organizations.rb', line 17

def self.Organization
  organization_class_name&.constantize || Effective::Organization
end