lib/mail_spy.rb in mail_spy-0.0.18 vs lib/mail_spy.rb in mail_spy-0.1.0
- old
+ new
@@ -17,11 +17,11 @@
)
@@esps = {}
MailSpyConfig = Struct.new(
:tracker_host, :aws_access_key_id,
- :aws_secret_access_key, :aws_campaign_bucket
+ :aws_secret_access_key, :aws_campaign_bucket, :using_delayed_job
)
@@config = MailSpyConfig.new
# Allows the initializer to set the configuration
@@ -58,8 +58,12 @@
@@config.aws_secret_access_key
end
def self.aws_campaign_bucket
@@config.aws_campaign_bucket
+ end
+
+ def self.using_delayed_job
+ @@config.using_delayed_job
end
end