email-opened 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/email-opened/version.rb +1 -1
- data/lib/email-opened.rb +1 -1
- metadata +1 -1
data/lib/email-opened/version.rb
CHANGED
data/lib/email-opened.rb
CHANGED
@@ -29,7 +29,7 @@ class EmailOpened
|
|
29
29
|
url = "http://app.emailopened.com/#{@eo_api_key}/api/v1/messages"
|
30
30
|
to = message[:to]
|
31
31
|
token = message[:token]
|
32
|
-
response = RestClient.post url, { accept: :json, "to[]"
|
32
|
+
response = RestClient.post url, { accept: :json, "to[]" => to, token: token }
|
33
33
|
puts response
|
34
34
|
end
|
35
35
|
end
|