Class: EgovUtils::Settings
- Inherits:
-
Settingslogic
- Object
- Settingslogic
- EgovUtils::Settings
- Defined in:
- lib/egov_utils/settings.rb
Instance Method Summary collapse
-
#allow_internal_accounts? ⇒ Boolean
namespace Rails.env.
- #allow_password_reset? ⇒ Boolean
- #allow_register? ⇒ Boolean
- #mock_resources? ⇒ Boolean
Instance Method Details
#allow_internal_accounts? ⇒ Boolean
namespace Rails.env
14 15 16 |
# File 'lib/egov_utils/settings.rb', line 14 def allow_internal_accounts? true end |
#allow_password_reset? ⇒ Boolean
22 23 24 |
# File 'lib/egov_utils/settings.rb', line 22 def allow_password_reset? allow_internal_accounts? && allow_password_reset end |
#allow_register? ⇒ Boolean
18 19 20 |
# File 'lib/egov_utils/settings.rb', line 18 def allow_register? allow_internal_accounts? && allow_register end |
#mock_resources? ⇒ Boolean
26 27 28 |
# File 'lib/egov_utils/settings.rb', line 26 def mock_resources? mock_resources end |