email-opened 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
data/lib/email-opened.rb CHANGED
@@ -25,7 +25,7 @@ class EmailOpened
25
25
  # message_token: "dz5t0r"
26
26
  # )
27
27
 
28
- def send(message = {})
28
+ def send(*message)
29
29
  url = "http://app.emailopened.com/#{@eo_api_key}/api/v1/messages"
30
30
  response = RestClient.post url, { accept: :json, message: message }
31
31
  puts response
@@ -1,3 +1,3 @@
1
1
  class EmailOpened
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  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.4
4
+ version: 0.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: