class GovFakeNotify::Config
Central configuration singleton
Attributes
attachments_path[RW]
base_url[RW]
database_file[RW]
delivery_method[RW]
include_api_keys[RW]
include_templates[RW]
port[RW]
smtp_address[RW]
smtp_authentication[RW]
smtp_enable_starttls_auto[RW]
smtp_password[RW]
smtp_port[RW]
smtp_user_name[RW]
Public Instance Methods
from(hash)
click to toggle source
# File lib/gov_fake_notify/config.rb, line 18 def from(hash) hash.each_pair do |key, value| next unless respond_to?(:"#{key}=") send(:"#{key}=", value) end end