Sha256: 0df4fa51c8d3086741509bd0dbec778fd799f386417f7e7c70d98b61a9927dba

Contents?: true

Size: 510 Bytes

Versions: 1

Compression:

Stored size: 510 Bytes

Contents

module NoNotifierNeeded
  module Config

    VALID_OPTIONS_KEYS = [
      :from_email,
      :from_name,
      :bcc,
      :reply_to,
      :host,
      :controller,
      :action,
      :mandrill_user_name,
      :mandrill_password,
      :mandrill_portt 
    ].freeze

    # @private
    attr_accessor *VALID_OPTIONS_KEYS

    # Create a hash of options and their values
    def options
      VALID_OPTIONS_KEYS.inject({}) do |option, key|
        option.merge!(key => send(key))
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
no_notifier_needed-2.0.16 lib/no_notifier_needed/config.rb