Sha256: c49319905d94148237eb86bc2b0d6780247be2cc28d584a96d7f0c80457eb320
Contents?: true
Size: 454 Bytes
Versions: 6
Compression:
Stored size: 454 Bytes
Contents
module HttpMailer class ServiceConfiguration Settings = Struct.new(:host, :api_key, :api_user, :subdomain) attr_accessor :settings 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 end end
Version data entries
6 entries across 6 versions & 1 rubygems