Class: Waterworks::Default

Inherits:
PipelineObject show all
Defined in:
lib/waterworks/other/default.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 = 'Default', name = 'Default') ⇒ Default

Returns a new instance of Default.



18
19
20
# File 'lib/waterworks/other/default.rb', line 18

def initialize(id = 'Default', name = 'Default')
  super(id, name)
end

Class Method Details

.safe_fieldsObject



5
6
7
8
9
10
11
12
13
14
# File 'lib/waterworks/other/default.rb', line 5

def self.safe_fields
  {
    schedule: :ref,
    failureAndRerunMode: :string,
    resourceRole: :string,
    role: :string,
    pipelineLogUri: :string,
    scheduleType: :string,
  }.merge superclass.safe_fields
end