Class: Waterworks::ShellScriptConfig

Inherits:
PipelineObject show all
Defined in:
lib/waterworks/utilities/shell_script_config.rb

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from PipelineObject

#<=>, base_attrs, #collect_attrs!, from_hash, from_json, #set_attrs, #sourceify, #to_fhash, #to_hash, #to_json

Constructor Details

#initialize(id = nil, name = nil) ⇒ ShellScriptConfig

Returns a new instance of ShellScriptConfig.



16
17
18
# File 'lib/waterworks/utilities/shell_script_config.rb', line 16

def initialize(id = nil, name = nil)
  super(id, name).set_attrs(type: 'ShellScriptConfig')
end

Class Method Details

.safe_fieldsObject



5
6
7
8
9
10
11
12
# File 'lib/waterworks/utilities/shell_script_config.rb', line 5

def self.safe_fields
  {
    parent: :ref,
    scriptArgument: :string,
    scriptUri: :string,
    type: :string,
  }.merge superclass.safe_fields
end