Class: WscSdk::ModelTemplate

Inherits:
Object
  • Object
show all
Defined in:
lib/wsc_sdk/model_template.rb

Overview

A base class for the model templates.

Class Method Summary collapse

Class Method Details

.merge(data, modifiers) ⇒ Object

Modifies a hash with a hash of modifiers

Parameters:

  • data (Hash)

    The initial hash to be modified

  • modifiers (Hash)

    A hash of modifiers for the final template output.



23
24
25
# File 'lib/wsc_sdk/model_template.rb', line 23

def self.merge(data, modifiers)
  data.deep_merge(modifiers)
end