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.
@@ -1,3 +1,3 @@
1
1
  class EmailOpened
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  end
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[]": to, token: token }
32
+ response = RestClient.post url, { accept: :json, "to[]" => to, token: token }
33
33
  puts response
34
34
  end
35
35
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: email-opened
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: