email-opened 0.0.3 → 0.0.4

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