Sha256: de2dfab45c198bd18303c4f065f4f6424f05d3928337354c6b13c7afee0880c0
Contents?: true
Size: 676 Bytes
Versions: 13
Compression:
Stored size: 676 Bytes
Contents
#!/usr/bin/env ruby require "bundler/setup" require "notifiable/sender" # You can add fixtures and/or initialization code here to make experimenting # with your gem easier. You can also use a different console, if you like. # (If you use this, don't forget to add pry to your Gemfile!) # require "pry" # Pry.start # convenience method def send_notification(recipient_email_address, message, access_id = ENV['access_id'], secret_key = ENV['secret_key']) sender = Notifiable::Sender.new 'https://notifiable-staging.herokuapp.com', access_id, secret_key: secret_key sender.send_notification_to_user(recipient_email_address, message: message) end require "irb" IRB.start
Version data entries
13 entries across 13 versions & 1 rubygems