Class: Waterworks::DynamoDBExportDataFormat

Inherits:
PipelineObject show all
Defined in:
lib/waterworks/data_formats/dynamo_db_export_data_format.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) ⇒ DynamoDBExportDataFormat

Returns a new instance of DynamoDBExportDataFormat.



15
16
17
# File 'lib/waterworks/data_formats/dynamo_db_export_data_format.rb', line 15

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

Class Method Details

.safe_fieldsObject



5
6
7
8
9
10
11
# File 'lib/waterworks/data_formats/dynamo_db_export_data_format.rb', line 5

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