NeverBounce 0.1.6 → 0.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/libs/NeverBounce.rb +4 -4
- metadata +5 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 53917b8b28610ba3c6e90ea89a78b1192951ded1
|
4
|
+
data.tar.gz: 7e6da71a68fe1c6ca0486d5d7d182dd924881f2f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cd5ff93cb7e20c0d005cbf0d55532dbbedcfdea1f401e32a6ceee299f7222e2df96691fc9f79d5dea24ec22c8341f86e6e24cff7ec729905832e0625c50e02c5
|
7
|
+
data.tar.gz: cd2610602c12918c61979b2e63ee87ed970b0439c9ca4beece3d5e95e0b6493380b3a8d9deb239a9c6043596f11e28f5497cd59090356fe3f83ed95656411584
|
data/libs/NeverBounce.rb
CHANGED
@@ -6,9 +6,9 @@ require __FILE__ + '/../NeverBounce/Single'
|
|
6
6
|
|
7
7
|
module NeverBounce
|
8
8
|
|
9
|
-
VERSION = "0.1.
|
9
|
+
VERSION = "0.1.7"
|
10
10
|
|
11
|
-
class API
|
11
|
+
class API
|
12
12
|
include HTTParty
|
13
13
|
attr_accessor :host, :path, :apikey, :apiSecret, :accessToken, :options
|
14
14
|
base_uri 'https://api.neverbounce.com'
|
@@ -80,12 +80,12 @@ module NeverBounce
|
|
80
80
|
# already we'll request a new one
|
81
81
|
def getAccessToken
|
82
82
|
# Get existing access token if available
|
83
|
-
if @accessToken != nil
|
83
|
+
if @accessToken != nil
|
84
84
|
return @accessToken
|
85
85
|
end
|
86
86
|
|
87
87
|
# Perform request if no existing access token
|
88
|
-
response = request('/v3/access_token',
|
88
|
+
response = request('/v3/access_token',
|
89
89
|
:body => {:grant_type => 'client_credentials', :scope => 'basic user'},
|
90
90
|
:basic_auth => {:username => @apiKey, :password => @apiSecret}
|
91
91
|
)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: NeverBounce
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mike Mollick
|
@@ -52,7 +52,9 @@ dependencies:
|
|
52
52
|
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
|
-
description: The official NeverBounce API library for Ruby
|
55
|
+
description: The official NeverBounce V3 API library for Ruby. The V3 API has been
|
56
|
+
depreciated, do not use this for new projects. Please use `neverbounce-api` for
|
57
|
+
new applications.
|
56
58
|
email:
|
57
59
|
- mike@neverbounce.com
|
58
60
|
executables: []
|
@@ -87,7 +89,7 @@ rubyforge_project:
|
|
87
89
|
rubygems_version: 2.6.10
|
88
90
|
signing_key:
|
89
91
|
specification_version: 4
|
90
|
-
summary: The official NeverBounce API library for Ruby
|
92
|
+
summary: "(depreciated) The official NeverBounce V3 API library for Ruby"
|
91
93
|
test_files:
|
92
94
|
- spec/VerifiedEmail_spec.rb
|
93
95
|
- spec/spec_helper.rb
|