ruby_hlr_client 2.0.0 → 2.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
  SHA256:
3
- metadata.gz: b0e1cbd5c9c2b7f194d463ffcfe957adc176a531ebcc828b5da2321047cc73eb
4
- data.tar.gz: ae9a0145396168bfd6e97322e29966e56dd109a6a006a45c2b97d194bca073e2
3
+ metadata.gz: ef69f61ee3625436c69ebea749e3fe5813d7247ed915452ee61b2191497b0c7d
4
+ data.tar.gz: 0c6e857000af85247b3ea4e3db98e2394456ce6726cbbfdebe310e950fd8f944
5
5
  SHA512:
6
- metadata.gz: 231f4d7764deb39e424a8b8b44a2141b58a52fccde61488c8e4b3f19813bbaf889f49c785572f4e089be72e13739d2051e091a45019a55bc04a293391c70248c
7
- data.tar.gz: 8a89336e1803244a7fcb37173dcbafaa0b339450b4d98f02d828f5b5f0134854a524e847935a00014734135d4b128f1ab08a364edf63219fcc5b7dab918bec76
6
+ metadata.gz: f7706004d937b472ad2532d8f9eb05e0f6949404b0e175022b7475fd9ee8917a0c0f14874090b82b8f82a06a61e040a6255d0412346a0b67b1c06173cef34bf8
7
+ data.tar.gz: '09e12c00f6bed267539f633b2667d4e5661d55e5371734589bb105910328891643520f48b134bf6ab1f6465ae5d3b16214b3f11bc43986deabad35f4274bbc54'
data/examples/example.rb CHANGED
@@ -60,5 +60,5 @@ if response.code != 200
60
60
  print "Received non-OK status code from server." + "\n"
61
61
  end
62
62
 
63
- # do something with the NT data
63
+ # do something with the MNP data
64
64
  data = JSON.parse(response.body)
@@ -16,7 +16,7 @@ module HlrLookupsSDK
16
16
  # @param secret; as given by https://www.hlr-lookups.com/en/api-settings
17
17
  # @param log_file; optional log file path
18
18
  # @constructor
19
- def initialize(key, secret, log_file = NIL)
19
+ def initialize(key, secret, log_file = nil)
20
20
 
21
21
  # @string The API Key as given by https://www.hlr-lookups.com/en/api-settings
22
22
  @key = key
@@ -36,8 +36,8 @@ module HlrLookupsSDK
36
36
  # @string HLR Lookup connect url
37
37
  @connect_url = HlrLookupsSDK::CONNECT_URL
38
38
 
39
- # @string|NIL Specifies the log file to which to write, if any.
40
- @log_file = log_file ? log_file : NIL
39
+ # @string|nil Specifies the log file to which to write, if any.
40
+ @log_file = log_file ? log_file : nil
41
41
 
42
42
  end
43
43
 
@@ -1,6 +1,6 @@
1
1
  module HlrLookupsSDK
2
2
 
3
- CLIENT_VERSION = '2.0.0'
3
+ CLIENT_VERSION = '2.0.2'
4
4
 
5
5
  CLIENT_NAME = 'ruby_hlr_client'
6
6
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby_hlr_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Velocity Made Good Ltd.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-08-14 00:00:00.000000000 Z
11
+ date: 2022-10-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client
@@ -83,7 +83,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
83
83
  - !ruby/object:Gem::Version
84
84
  version: '0'
85
85
  requirements: []
86
- rubygems_version: 3.1.2
86
+ rubygems_version: 3.3.11
87
87
  signing_key:
88
88
  specification_version: 4
89
89
  summary: HLR Lookups SDK. Obtain live mobile phone connectivity and portability data