class HttpMailer::ServiceConfiguration
Constants
- Settings
Attributes
settings[RW]
Public Class Methods
new(settings_hash)
click to toggle source
# File lib/http_mailer/service_configuration.rb, line 6 def initialize(settings_hash) self.settings = Settings.new self.settings.host = settings_hash[:host] self.settings.api_user = settings_hash[:api_user] self.settings.api_key = settings_hash[:api_key] self.settings.subdomain = settings_hash[:subdomain] end