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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9cbf4602cc744b6975dae3b8270edcf971935bb89d754d26d001f759ce22cf50
4
- data.tar.gz: 6afb324f38ccef286802240b61e0b4bfc474a113fddcfafbdd2fda6852162119
3
+ metadata.gz: 1274876b4b77ade250f0c715be10ce93cb49d931bf8f0d76416eee9bba06d895
4
+ data.tar.gz: 8dd9a41d488ba5208809541405c8c740018123cbb76107cf9189221a5eceebf9
5
5
  SHA512:
6
- metadata.gz: c63d05761c93746539005398cc1708a2206f9998d858ed8aef62b7d914bbfdb657960087c315f92fb3abdb96018d1ae5294ce40c199c81aaf6350d31d63feddd
7
- data.tar.gz: 89a27c562f6195577b7942782462ff2fd294ff830e064714f6387c056a3e54ac3920b41fc5834f816b95cdbcffdba672b92466ed6fbe341eab3f750eb9323e05
6
+ metadata.gz: 74bd64f6dce3054139754fdd6d5c7102ac432ca8f7427ad6883f21c61ead4ae254b601573ab0fb3ba3f3fde7823ef9b6fd1217b794ce7b21f817b4c989db7b59
7
+ data.tar.gz: ede7dab82a61cae0ce9f2741f64491d9122679edd2034d8ede4fad88662db1188d8f52dd4e3a016e5a6d8b76f22c40d2d1e085d6c7239d68691f59257f9f690b
@@ -2,11 +2,11 @@ module Emailfuse
2
2
  class Client
3
3
  class << self
4
4
  def url
5
- Emailfuse.config.host || "https://api.emailfuse.net"
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 = {
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Emailfuse
4
- VERSION = "0.1.2"
4
+ VERSION = "0.1.3"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: emailfuse
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dean Perry