appmail-rails 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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e80db157221f34a3cf814d7bda280569abbe373f
|
4
|
+
data.tar.gz: f86b1a19a0fecfc3df0108113c8cd4c83008de90
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: adcba1b4195522cd1a5794efd993fa72dfdcfffffa5720a5c269cfa12c7abd14540cccf109f26d1219fe680b2fd3502cf507edf7c6d8ff10cba28e1527bee70f
|
7
|
+
data.tar.gz: 4a79aaaadfd12fbe0c2f00fb395196bb9fb40d669991dafea0b8bb425084f91f3ef3686495b2d91bde816f1823cd46ff32584698eee0553620ea0fb8f3fdb7b9
|
@@ -23,7 +23,7 @@ module AppMail
|
|
23
23
|
private
|
24
24
|
|
25
25
|
def client
|
26
|
-
@client ||= AppMail::Client.new(@settings[:host] || "api.appmail.io", @settings[:server_key])
|
26
|
+
@client ||= AppMail::Client.new(@settings[:host] || "api.appmail.io", @settings[:server_key] || ENV['APPMAIL_KEY'])
|
27
27
|
end
|
28
28
|
|
29
29
|
end
|