UKSpaceAgency / space-activity-licensing-alpha

UK Space Activity Licensing Alpha
MIT License
0 stars 1 forks source link

Functionality for use with GOV.UK Notify API #62

Closed davelovemartin closed 6 years ago

davelovemartin commented 6 years ago

2 Functions: notifyByEmail and notifyBySms which take a userData parameter. Dispatches sendNotification which persists the userData to the state and calls the relevant NotifyClient method.

Template IDs are currently hardcoded in these functions. Create new Templates.

Create a new API key and store in config.development.yaml as NOTIFY_API_KEY

Koded commented 6 years ago

Just a further note - I know you opened up a PR to remove the config files. This was a good spot. They don't have any sensitive information in them currently, so they are ok for now, but will put the configuration on the server.

enginehouse commented 6 years ago

@Koded - can you run through this with me too? Not sure where you want this.