telesignenterprise 4.0.0 → 5.0.0
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/lib/telesignenterprise/constants.rb +1 -1
- data/lib/telesignenterprise/phoneid.rb +0 -11
- data/lib/telesignenterprise/score.rb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 775f1c6b8e7ac4163732d62943a5c3ee8988beb7a4b248a0bf17136d905d7f1c
|
|
4
|
+
data.tar.gz: 6f35a27fda4eda79b302943a576d5aa92753774d2d9b6ae5dbb08b56469e85a4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c84bc1a2a11cd5d2ee9970ecd1e424cedb83e76aa4cd6a9278764b9d4d1c7a30c9df7dd8aedb2fa9b72010a409bc9ddb9737dab3540b30c4ab81ff6f3a6b8835
|
|
7
|
+
data.tar.gz: f1231ac142faa67f96e15d5575c5eacb191056cf6f20c977c504280b9c8161d3a2cbb97bbd770d4ac4a404b96c68f0eebbcb7089ff40d4d64708ca6f7455b22d
|
|
@@ -2,7 +2,6 @@ require 'telesign/phoneid'
|
|
|
2
2
|
require_relative 'constants'
|
|
3
3
|
|
|
4
4
|
PHONEID_STANDARD_RESOURCE = '/v1/phoneid/standard/%{phone_number}'
|
|
5
|
-
PHONEID_SCORE_RESOURCE = '/v1/phoneid/score/%{phone_number}'
|
|
6
5
|
PHONEID_LIVE_RESOURCE = '/v1/phoneid/live/%{phone_number}'
|
|
7
6
|
PHONEID_GET_INFO_PATH = '/v1/phoneid/%{phone_number}'
|
|
8
7
|
PHONEID_GET_INFO_PATH_ALT = '/v1/phoneid'
|
|
@@ -44,16 +43,6 @@ module TelesignEnterprise
|
|
|
44
43
|
**params)
|
|
45
44
|
end
|
|
46
45
|
|
|
47
|
-
# Score is an API that delivers reputation scoring based on phone number intelligence, traffic patterns, machine
|
|
48
|
-
# learning, and a global data consortium.
|
|
49
|
-
#
|
|
50
|
-
# See https://developer.telesign.com/docs/rest_api-phoneid-score for detailed API documentation.
|
|
51
|
-
def score(phone_number, ucid, **params)
|
|
52
|
-
self.get(PHONEID_SCORE_RESOURCE % {:phone_number => phone_number},
|
|
53
|
-
ucid: ucid,
|
|
54
|
-
**params)
|
|
55
|
-
end
|
|
56
|
-
|
|
57
46
|
# The PhoneID Live API delivers insights such as whether a phone is active or disconnected, a device is reachable
|
|
58
47
|
# or unreachable and its roaming status.
|
|
59
48
|
#
|
|
@@ -8,7 +8,7 @@ module TelesignEnterprise
|
|
|
8
8
|
|
|
9
9
|
def initialize(customer_id,
|
|
10
10
|
api_key,
|
|
11
|
-
rest_endpoint: 'https://
|
|
11
|
+
rest_endpoint: 'https://detect.telesign.com',
|
|
12
12
|
timeout: nil,
|
|
13
13
|
source: 'ruby_telesign_enterprise',
|
|
14
14
|
sdk_version_origin: TelesignEnterprise::SDK_VERSION,
|
metadata
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: telesignenterprise
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 5.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- TeleSign
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
11
|
date: 2017-05-02 00:00:00.000000000 Z
|
|
@@ -16,14 +16,14 @@ dependencies:
|
|
|
16
16
|
requirements:
|
|
17
17
|
- - "~>"
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version:
|
|
19
|
+
version: 4.0.0
|
|
20
20
|
type: :runtime
|
|
21
21
|
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
24
|
- - "~>"
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
|
-
version:
|
|
26
|
+
version: 4.0.0
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: rake
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -142,7 +142,7 @@ homepage: http://rubygems.org/gems/telesign
|
|
|
142
142
|
licenses:
|
|
143
143
|
- MIT
|
|
144
144
|
metadata: {}
|
|
145
|
-
post_install_message:
|
|
145
|
+
post_install_message:
|
|
146
146
|
rdoc_options: []
|
|
147
147
|
require_paths:
|
|
148
148
|
- lib
|
|
@@ -157,8 +157,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
157
157
|
- !ruby/object:Gem::Version
|
|
158
158
|
version: '0'
|
|
159
159
|
requirements: []
|
|
160
|
-
rubygems_version: 3.
|
|
161
|
-
signing_key:
|
|
160
|
+
rubygems_version: 3.4.10
|
|
161
|
+
signing_key:
|
|
162
162
|
specification_version: 4
|
|
163
163
|
summary: TeleSign Enterprise Ruby SDK
|
|
164
164
|
test_files: []
|