Module: Teleflow::Api::NotificationGroups
- Included in:
- Client
- Defined in:
- lib/teleflow/api/notification_groups.rb
Overview
Module Teleflow::Api::NotificationGroups provides an API for managing notification groups in the Teleflow application.
This module includes methods for creating, retrieving notification groups.
For more information on the Teleflow API(api-teleflow.khulnasoft.com/api#/Notification%20groups), see docs.teleflow.khulnasoft.com/api/create-notification-group/.
Instance Method Summary collapse
-
#create_notification_group(body) ⇒ Hash, number
Creates a notification group.
-
#notification_groups ⇒ Hash, number
Returns a list of notification groups.
Instance Method Details
#create_notification_group(body) ⇒ Hash, number
Creates a notification group.
@bodyparams:
18 19 20 |
# File 'lib/teleflow/api/notification_groups.rb', line 18 def create_notification_group(body) post("/notification-groups", body: body) end |
#notification_groups ⇒ Hash, number
Returns a list of notification groups
27 28 29 |
# File 'lib/teleflow/api/notification_groups.rb', line 27 def notification_groups get("/notification-groups") end |