Class: ForemanChef::Environment
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- ForemanChef::Environment
- Extended by:
- FriendlyId
- Includes:
- Authorizable, Parameterizable::ByName
- Defined in:
- app/models/foreman_chef/environment.rb
Defined Under Namespace
Classes: Jail
Class Method Summary collapse
Class Method Details
.humanize_class_name(_name = nil) ⇒ Object
23 24 25 |
# File 'app/models/foreman_chef/environment.rb', line 23 def self.humanize_class_name(_name = nil) _('Chef environment') end |
.permission_name(action) ⇒ Object
27 28 29 |
# File 'app/models/foreman_chef/environment.rb', line 27 def self.(action) "#{action}_chef_environments" end |