From d1ae53915d224499f98f9fba71442448cf854a47 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 25 Sep 2017 07:38:05 +0200 Subject: [PATCH] Add new configuration variables (#3433) * Add new configuration variables * Fix require --- source/_components/notify.simplepush.markdown | 26 ++++++++++++++++--- 1 file changed, 22 insertions(+), 4 deletions(-) diff --git a/source/_components/notify.simplepush.markdown b/source/_components/notify.simplepush.markdown index bde576aa14d..4747d9a5f48 100644 --- a/source/_components/notify.simplepush.markdown +++ b/source/_components/notify.simplepush.markdown @@ -25,10 +25,28 @@ notify: device_key: ABCDE ``` -Configuration variables: - -- **name** (*Optional*): Setting the optional parameter `name` allows multiple notifiers to be created. The default value is `notify`. The notifier will bind to the service `notify.NOTIFIER_NAME`. -- **device_key** (*Required*): The device key of your device. +{% configuration %} + name: + description: Setting the optional parameter `name` allows multiple notifiers to be created. The default value is `notify`. The notifier will bind to the service `notify.NOTIFIER_NAME`. + required: false + type: string + device_key: + description: The device key of your device. + required: true + type: string + event: + description: The event for the events. + required: false + type: string + password: + description: The password of the encryption used by your device. + required: inclusive + type: string + salt: + description: The salt used by your device. + required: inclusive + type: string +{% endconfiguration %} To test if the service works, just send a message with `curl` from the command-line.