Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Support validation and sending alert #12

Merged
merged 0 commits into from

3 participants

@sntran

The bundle file can now have a validate function, which when returns false
will fail the response.

SPAS also sends SMS alert whenever a bundle fails requesting the API, or the
response fails validation.

SMS alert uses Twilio and the credentials are defined in config.json:

{
  "development": {
    "authentication": {
      "twilio": {
        "sid": "AC...",
        "authToken": "xxx",
        "number": "+18327727533", // Registered Twilio number, +1 832 SPAS 533
        "recipient": "+1xxxxxxxxxx" // Use verified outbound number associated with the number above if using trial account.
      }
    }
  }
}
@jlafitte

I'd personally rather receive emails than sms...

@sntran
@dtex dtex merged commit 5b31bbd into dtex:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 0 additions and 0 deletions.
Something went wrong with that request. Please try again.