Method: DocSpring::TemplatePreview#to_body

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

#to_bodyHash

to_body is an alias to to_hash (backward compatibility)

Returns:

  • (Hash)

    Returns the object in the form of hash



801
802
803
# File 'lib/docspring/models/template_preview.rb', line 801

def to_body
  to_hash
end