emailfuse 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/emailfuse/client.rb +2 -2
- data/lib/emailfuse/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1274876b4b77ade250f0c715be10ce93cb49d931bf8f0d76416eee9bba06d895
|
4
|
+
data.tar.gz: 8dd9a41d488ba5208809541405c8c740018123cbb76107cf9189221a5eceebf9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 74bd64f6dce3054139754fdd6d5c7102ac432ca8f7427ad6883f21c61ead4ae254b601573ab0fb3ba3f3fde7823ef9b6fd1217b794ce7b21f817b4c989db7b59
|
7
|
+
data.tar.gz: ede7dab82a61cae0ce9f2741f64491d9122679edd2034d8ede4fad88662db1188d8f52dd4e3a016e5a6d8b76f22c40d2d1e085d6c7239d68691f59257f9f690b
|
data/lib/emailfuse/client.rb
CHANGED
@@ -2,11 +2,11 @@ module Emailfuse
|
|
2
2
|
class Client
|
3
3
|
class << self
|
4
4
|
def url
|
5
|
-
Emailfuse.config.host || "https://
|
5
|
+
Emailfuse.config.host || "https://emailfuse.net"
|
6
6
|
end
|
7
7
|
|
8
8
|
def connection
|
9
|
-
@connection ||= Faraday.new("#{url}/v1") do |conn|
|
9
|
+
@connection ||= Faraday.new("#{url}/api/v1") do |conn|
|
10
10
|
conn.request :authorization, :Bearer, Emailfuse.config.token
|
11
11
|
|
12
12
|
conn.headers = {
|
data/lib/emailfuse/version.rb
CHANGED