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 +4 -4
- data/lib/nifty-email.rb +1 -3
- data/lib/nifty-email/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fdc03fac178fbca4e4afaef478fea4d275d7baf2
|
4
|
+
data.tar.gz: 04ee7c8581182a78c095b11c3fc01144dbbd9138
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e518d33b8896948d2e9b4e9e3b6b179a144b84039846eb72de93f540b4e54100cfebd0e11c2fd8c17c2fde898cc0cf7a5c4dd7f9c97983ed838f55f627adb453
|
7
|
+
data.tar.gz: b94c1b589e1a9d204858bbb808fa8786762c56e45510cf6dcdba2fad914001732dab5122a32443a1ebcce261b3ea889d598d76dac61a6a463a708a0703137445
|
data/lib/nifty-email.rb
CHANGED
@@ -10,9 +10,7 @@ class NiftyEmail
|
|
10
10
|
end
|
11
11
|
|
12
12
|
def self.get_email(slug_or_id, placeholders)
|
13
|
-
|
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)
|
data/lib/nifty-email/version.rb
CHANGED