mail_male_mail 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
@@ -2,7 +2,7 @@ module MailMaleMail
|
|
2
2
|
module PostalService
|
3
3
|
def self.api_request(settings, message)
|
4
4
|
if settings[:method].to_s == "iron_mq"
|
5
|
-
settings[:host] ||= "mq-aws-us-east-1"
|
5
|
+
settings[:host] ||= "mq-aws-us-east-1.iron.io"
|
6
6
|
queue = IronMQ::Client.new(host: settings[:host], token: settings[:token], project_id: settings[:project_id]).queue(settings[:queue])
|
7
7
|
queue.post(message.to_json)
|
8
8
|
else
|