Class: ForemanHooks::Util::RablScope
- Inherits:
-
Object
- Object
- ForemanHooks::Util::RablScope
- Defined in:
- lib/foreman_hooks/util.rb
Instance Method Summary collapse
-
#initialize ⇒ RablScope
constructor
A new instance of RablScope.
- #params ⇒ Object
Constructor Details
#initialize ⇒ RablScope
Returns a new instance of RablScope.
79 80 81 82 83 |
# File 'lib/foreman_hooks/util.rb', line 79 def initialize # Used by api/v2/hosts/main.json.yaml to include parameter lists @all_parameters = true @parameters = true end |
Instance Method Details
#params ⇒ Object
85 86 87 88 |
# File 'lib/foreman_hooks/util.rb', line 85 def params # Used by app/views/api/v2/common/show_hidden.json.rabl to show hidden parameter values (#17653) { 'show_hidden' => true, 'show_hidden_parameters' => true } end |