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.1.12 lib/eco/api/session/config/mailer.rb
eco-helpers-2.1.11 lib/eco/api/session/config/mailer.rb
eco-helpers-2.1.10 lib/eco/api/session/config/mailer.rb
eco-helpers-2.1.9 lib/eco/api/session/config/mailer.rb
eco-helpers-2.1.8 lib/eco/api/session/config/mailer.rb
eco-helpers-2.1.7 lib/eco/api/session/config/mailer.rb
eco-helpers-2.1.6 lib/eco/api/session/config/mailer.rb
eco-helpers-2.1.5 lib/eco/api/session/config/mailer.rb
eco-helpers-2.1.4 lib/eco/api/session/config/mailer.rb
eco-helpers-2.1.3 lib/eco/api/session/config/mailer.rb
eco-helpers-2.1.2 lib/eco/api/session/config/mailer.rb
eco-helpers-2.1.1 lib/eco/api/session/config/mailer.rb
eco-helpers-2.0.68 lib/eco/api/session/config/mailer.rb
eco-helpers-2.0.67 lib/eco/api/session/config/mailer.rb
eco-helpers-2.0.66 lib/eco/api/session/config/mailer.rb
eco-helpers-2.0.65 lib/eco/api/session/config/mailer.rb
eco-helpers-2.0.64 lib/eco/api/session/config/mailer.rb
eco-helpers-2.0.63 lib/eco/api/session/config/mailer.rb
eco-helpers-2.0.62 lib/eco/api/session/config/mailer.rb
eco-helpers-2.0.61 lib/eco/api/session/config/mailer.rb