Method: AsposeWordsCloud::ListInsert#initialize

Defined in:
lib/aspose_words_cloud/models/list_insert.rb

#initialize(attributes = {}) ⇒ ListInsert

Initializes the object

Parameters:

  • attributes (Hash) (defaults to: {})

    Model attributes in the form of hash



74
75
76
77
78
79
80
81
82
83
# File 'lib/aspose_words_cloud/models/list_insert.rb', line 74

def initialize(attributes = {})
  return unless attributes.is_a?(Hash)

  # convert string to symbol for hash key
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }

  if attributes.key?(:'Template')
    self.template = attributes[:'Template']
  end
end