Module: Teleflow::Api::Blueprints
- Included in:
- Client
- Defined in:
- lib/teleflow/api/blueprints.rb
Overview
Module Teleflow::Api::Blueprints provides an API for managing templated for notifications that are sent out in the Teleflow application.
This module includes methods for retrieving blueprints by templateID and grouping blueprints by category.
For more information on the Teleflow Blueprint API, see docs.teleflow.khulnasoft.com/api/get-messages/.
Instance Method Summary collapse
-
#get_blueprint(template_id) ⇒ Hash, number
Returns the details of a particular template.
-
#group_blueprints_by_category ⇒ Object
Get V1blueprintsgroup by Category.
Instance Method Details
#get_blueprint(template_id) ⇒ Hash, number
Returns the details of a particular template
19 20 21 |
# File 'lib/teleflow/api/blueprints.rb', line 19 def get_blueprint(template_id) get("/blueprints/#{template_id}") end |
#group_blueprints_by_category ⇒ Object
Get V1blueprintsgroup by Category
24 25 26 |
# File 'lib/teleflow/api/blueprints.rb', line 24 def group_blueprints_by_category get("/blueprints/group-by-category") end |