module NoNotifierNeeded::Config

Constants

SECURE_OPTIONS_KEYS
VALID_OPTIONS_KEYS

Public Instance Methods

options() click to toggle source

Create a hash of options and their values

# File lib/no_notifier_needed/config.rb, line 38
def options
  (SECURE_OPTIONS_KEYS + VALID_OPTIONS_KEYS).inject({}) do |option, key|
    option.merge!(key => send(key))
  end
end