Method: DocSpring::Template#to_body

Defined in:
lib/docspring/models/template.rb

#to_bodyHash

to_body is an alias to to_hash (backward compatibility)

Returns:

  • (Hash)

    Returns the object in the form of hash



967
968
969
# File 'lib/docspring/models/template.rb', line 967

def to_body
  to_hash
end