Skip to content

Commit

Permalink
Merge pull request drewblas#27 from teeparham/delivery-method-settings
Browse files Browse the repository at this point in the history
initialize settings for SES Base for response object, fixes drewblas#23
  • Loading branch information
Drew Blas committed Nov 19, 2011
2 parents d03b17d + eca27d0 commit ef2dcd7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/aws/ses/base.rb
Expand Up @@ -62,6 +62,7 @@ class Base
include Info

attr_reader :use_ssl, :server, :proxy_server, :port
attr_accessor :settings

# @option options [String] :access_key_id ("") The user's AWS Access Key ID
# @option options [String] :secret_access_key ("") The user's AWS Secret Access Key
Expand All @@ -86,6 +87,7 @@ def initialize( options = {} )
@use_ssl = options[:use_ssl]
@path = options[:path]
@user_agent = options[:user_agent]
@settings = {}

raise ArgumentError, "No :access_key_id provided" if options[:access_key_id].nil? || options[:access_key_id].empty?
raise ArgumentError, "No :secret_access_key provided" if options[:secret_access_key].nil? || options[:secret_access_key].empty?
Expand Down Expand Up @@ -122,8 +124,6 @@ def initialize( options = {} )

end

attr_accessor :settings

def connection
@http
end
Expand Down

0 comments on commit ef2dcd7

Please sign in to comment.