Sha256: 52c034fa8ae7ed4d7325db0a5a1d5da9356b256404ab32687137024a6010006e

Contents?: true

Size: 454 Bytes

Versions: 7

Compression:

Stored size: 454 Bytes

Contents

module Voltron
  class Config

    def notify
      @notify ||= Notify.new
    end

    class Notify

      attr_accessor :use_queue, :delay

      # SMS config settings
      attr_accessor :sms_account_sid, :sms_auth_token, :sms_from

      # Email config settings
      attr_accessor :email_from

      def initialize
        @use_queue ||= false
        @delay ||= 0.seconds
        @email_from ||= "no-reply@example.com"
      end

    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
voltron-notify-0.1.6 lib/voltron/config/notify.rb
voltron-notify-0.1.8 lib/voltron/config/notify.rb
voltron-notify-0.1.4 lib/voltron/config/notify.rb
voltron-notify-0.1.3 lib/voltron/config/notify.rb
voltron-notify-0.1.5 lib/voltron/config/notify.rb
voltron-notify-0.1.2 lib/voltron/config/notify.rb
voltron-notify-0.1.7 lib/voltron/config/notify.rb