Class: CanTango::Config::Permits::Accounts
- Inherits:
-
Object
- Object
- CanTango::Config::Permits::Accounts
- Includes:
- Singleton
- Defined in:
- lib/cantango/permits_ext/config/permits/accounts.rb
Instance Method Summary collapse
Instance Method Details
#registries ⇒ Object
10 11 12 |
# File 'lib/cantango/permits_ext/config/permits/accounts.rb', line 10 def registries @registries ||= {} end |
#registry_for(name) ⇒ Object
6 7 8 |
# File 'lib/cantango/permits_ext/config/permits/accounts.rb', line 6 def registry_for name registries[name] ||= CanTango::Registry::Permit::Base.new end |