Sha256: 71d10ddfe4e6533f31d48f14ece8f5f52823ce718c641775cb7bf9e451c841f4

Contents?: true

Size: 1.47 KB

Versions: 123

Compression:

Stored size: 1.47 KB

Contents

module Eco
  module API
    class Session
      class Config
        class Mailer < BaseConfig

          def configured?
            required = access_key_id && secret_access_key && region
            !!required
          end

          def to=(value)
            self["to"] = value
          end

          def to
            self["to"]
          end

          def from=(value)
            self["from"] = value
          end

          def from
            self["from"]
          end

          def access_key_id=(key)
            self["access_key_id"] = key
          end

          def access_key_id
            self["access_key_id"]
          end

          def secret_access_key=(key)
            self["secret_access_key"] = key
          end

          def secret_access_key
            self["secret_access_key"]
          end

          # AWS::SES::Client
          def region=(region)
            self["region"] = region
          end

          def region
            self["region"]
          end

          # AWS::SES::Base
          def server=(domain)
            self["server"] = domain
          end

          def server
            self["server"]
          end

          # AWS::SES::Base
          def message_id_domain=(domain)
            self["message_id_domain"] = domain
          end

          def message_id_domain
            self["message_id_domain"]
          end

        end
      end
    end
  end
end

Version data entries

123 entries across 123 versions & 1 rubygems

Version Path
eco-helpers-2.0.40 lib/eco/api/session/config/mailer.rb
eco-helpers-2.0.39 lib/eco/api/session/config/mailer.rb
eco-helpers-2.0.38 lib/eco/api/session/config/mailer.rb
eco-helpers-2.0.37 lib/eco/api/session/config/mailer.rb
eco-helpers-2.0.36 lib/eco/api/session/config/mailer.rb
eco-helpers-2.0.35 lib/eco/api/session/config/mailer.rb
eco-helpers-2.0.34 lib/eco/api/session/config/mailer.rb
eco-helpers-2.0.33 lib/eco/api/session/config/mailer.rb
eco-helpers-2.0.32 lib/eco/api/session/config/mailer.rb
eco-helpers-2.0.31 lib/eco/api/session/config/mailer.rb
eco-helpers-2.0.30 lib/eco/api/session/config/mailer.rb
eco-helpers-2.0.29 lib/eco/api/session/config/mailer.rb
eco-helpers-2.0.28 lib/eco/api/session/config/mailer.rb
eco-helpers-2.0.27 lib/eco/api/session/config/mailer.rb
eco-helpers-2.0.26 lib/eco/api/session/config/mailer.rb
eco-helpers-2.0.25 lib/eco/api/session/config/mailer.rb
eco-helpers-2.0.24 lib/eco/api/session/config/mailer.rb
eco-helpers-2.0.23 lib/eco/api/session/config/mailer.rb
eco-helpers-2.0.22 lib/eco/api/session/config/mailer.rb
eco-helpers-2.0.21 lib/eco/api/session/config/mailer.rb