- FCM Push Notification Service
- Instapush Notification Service
- Slack Notification Service
- Twilio Messaging Service
$ gem install rtpush
You can use dotenv, which is included in the Gemfile, to fill in any values that you can't or won't supply through the environment.
In order of precedence RTPush uses:
- Environment variables (for example MY_VALUE=abc)
- Values provided in a .env file
- Default values from .env.default
NOTIFICATION_TITLE=XX
REDIS_URL=XX
SLACK_WEBHOOK=XX
TWILIO_TO_NUMBER=XX
TWILIO_FROM_NUMBER=XX
TWILIO_AUTH_TOKEN=XX
TWILIO_ACCOUNT_SID=XX
GCM_PRIORITY=XX
GCM_AUTH_KEY=XX
GCM_ANDROID_APP_NAME=XX
GCM_ANDROID_DEVICE_TOKEN=XX
INSTAPUSH_APP_ID=XX
INSTAPUSH_APP_SECRET=XX
INSTAPUSH_APP_EVENT=XX
TBD
rtpush strategy1,strategy2 message
$ rtpush sms,slack,mobile,insta hello
rspec spec
TBD