Sha256: 79b584cdadf63a7ba38d4679d3145b4884f06660e31d6f9241a2ef475757284e
Contents?: true
Size: 632 Bytes
Versions: 3
Compression:
Stored size: 632 Bytes
Contents
module Voltron class Config def notify @notify ||= Notify.new end class Notify attr_accessor :use_queue # SMS config settings attr_accessor :sms_account_sid, :sms_auth_token, :sms_from # Email config settings attr_accessor :email_from, :default_mailer, :default_method, :default_template def initialize @use_queue ||= false @email_from ||= 'no-reply@example.com' @default_mailer = Voltron::NotificationMailer @default_method = :notify @default_template = 'voltron/notification_mailer/notify.html.erb' end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
voltron-notify-0.2.0 | lib/voltron/config/notify.rb |
voltron-notify-0.2.2 | lib/voltron/config/notify.rb |
voltron-notify-0.2.1 | lib/voltron/config/notify.rb |