Method: Teleflow::Api::NotificationTemplates#notification_templates

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

#notification_templates(query = {}) ⇒ Hash, number

Returns a list of notification template that can be paginated using the ‘page` query parameter

@queryparams:

Parameters:

  • `page` (Integer(optional))

    Number of page for the pagination.

  • `limit` (Integer(optional))

Returns:

  • (Hash)

    The list of notification templates that match the criteria of the query params are successfully returned.

  • (number)

    status

    • Returns 200 if successful



21
22
23
# File 'lib/teleflow/api/notification_templates.rb', line 21

def notification_templates(query = {})
  get("/notification-templates", query: query)
end