Module: Fog::AWS::DataPipeline::Shared

Included in:
Mock, Real
Defined in:
lib/fog/aws/requests/data_pipeline/put_pipeline_definition.rb

Defined Under Namespace

Classes: JSONObject

Instance Method Summary collapse

Instance Method Details

#transform_objects(objects) ⇒ Object

Take a list of pipeline object hashes as specified in the Data Pipeline JSON format and transform it into the format expected by the API



42
43
44
# File 'lib/fog/aws/requests/data_pipeline/put_pipeline_definition.rb', line 42

def transform_objects(objects)
  objects.map { |object| JSONObject.new(object).to_api }
end