nifty-email 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dc704ff8a864a598475de83c23048ce0bb9a1305
4
- data.tar.gz: d95a0c936827517760beb333ee124264333173bc
3
+ metadata.gz: fdc03fac178fbca4e4afaef478fea4d275d7baf2
4
+ data.tar.gz: 04ee7c8581182a78c095b11c3fc01144dbbd9138
5
5
  SHA512:
6
- metadata.gz: 67278df7fdf4792afe3921a313857229e7c6bbf5216569b672ea2c56d98779347f6f98eef3ea1f10de5f5f901f5df0bd7d66a03dc2ea2280677556bfc5f9614b
7
- data.tar.gz: eb6eed6e4b1c6b5068441aadc1f88cfdb443e26c4da9502e91300e9f7ee0bc961690df3cba54ac128a218749ca3a53f3a66413ea28949bd0620fe021690bcadc
6
+ metadata.gz: e518d33b8896948d2e9b4e9e3b6b179a144b84039846eb72de93f540b4e54100cfebd0e11c2fd8c17c2fde898cc0cf7a5c4dd7f9c97983ed838f55f627adb453
7
+ data.tar.gz: b94c1b589e1a9d204858bbb808fa8786762c56e45510cf6dcdba2fad914001732dab5122a32443a1ebcce261b3ea889d598d76dac61a6a463a708a0703137445
@@ -10,9 +10,7 @@ class NiftyEmail
10
10
  end
11
11
 
12
12
  def self.get_email(slug_or_id, placeholders)
13
- # env variable for url
14
- # connection = Faraday.new(url: 'http://nifty-email.herokuapp.com/api')
15
- connection = Faraday.new(url: 'http://localhost:5000/api/emails')
13
+ connection = Faraday.new(url: 'http://nifty-email-production.herokuapp.com/api/emails')
16
14
  connection.authorization('Token', token: @token)
17
15
 
18
16
  response = connection.get("#{slug_or_id}.json", placeholders)
@@ -1,5 +1,5 @@
1
1
  module Nifty
2
2
  module Email
3
- VERSION = "0.0.1"
3
+ VERSION = "0.0.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nifty-email
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Scott Albertson