Method: Vonage::Verify2::Templates#create

Defined in:
lib/vonage/verify2/templates.rb

#create(name:) ⇒ Response

Create a new template.

Examples:

client.verify2.templates.create(name: 'my-template')

Parameters:

  • :name. (required, String)

    The name of the template. The following characters are permitted: [A-Z a-z 0-9 _ -]

Returns:

See Also:



50
51
52
# File 'lib/vonage/verify2/templates.rb', line 50

def create(name:)
  request('/v2/verify/templates', params: { name: name }, type: Post)
end