Method: Teleflow::Api::NotificationTemplates#notification_template

Defined in:
lib/teleflow/api/notification_templates.rb

#notification_template(template_id) ⇒ Hash, number

Retrieves the notification template with the given ID.

Parameters:

  • `template_id` (String)

    The ID of the template to retrieve.

Returns:

  • (Hash)

    The retrieved template.

  • (number)

    status

    • Returns 200 if the template with the template_id provided exists in the database.



85
86
87
# File 'lib/teleflow/api/notification_templates.rb', line 85

def notification_template(template_id)
  get("/notification-templates/#{template_id}")
end