Sha256: c7e240cdc6b9da6b5cc41aaa706c48272cfcd340314a0c287792a74f4a654dcb
Contents?: true
Size: 771 Bytes
Versions: 1
Compression:
Stored size: 771 Bytes
Contents
#Set your home URL, so Telegram callbacks work #For production, just use your URL (e.g. https://myapp.com) #You MUST NOT include a trailing slash and it MUST be https! #INVALID URLS: e.g. http://myapp.com or https://myapp.com/ TelegramNotifications::TelegramUser.configure_production_url("YOUR PRODUCTION URL") #For development, download ngrok from https://ngrok.com/. #Extract it and run "./ngrok http 3000" #Then copy the URL you get from the console window. #Remember to use the HTTPS URL! TelegramNotifications::TelegramUser.configure_development_url("YOUR NGROK DEVELOPMENT URL") #Set your Telegram Bot API token here #Don't have your token yet? Create your bot using https://telegram.me/botfather TelegramNotifications::TelegramUser.configure_token("YOUR TOKEN")
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
telegram_notifications-0.0.1 | lib/generators/telegram_notifications/migration/templates/active_record/telegram_notifications.rb |