ruby_hlr_client 0.0.15 → 0.0.16
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.
|
@@ -107,7 +107,7 @@ module RubyHlrClient
|
|
|
107
107
|
# @returns string (JSON)
|
|
108
108
|
#
|
|
109
109
|
# Return example: { "success":true, "messages":[], "results":{ "acceptedNumbers":[ { "id":"f09b30014d5e", "number":"+4989702626" }, { "id":"364c0ad33c02", "number":"+491788735000" } ], "rejectedNumbers":[ { "id":null, "number":"asdf" } ], "acceptedNumberCount":2, "rejectedNumberCount":1, "totalCount":3, "charge":0.01, "storage":"ASYNC-API-NT-2015-12", "route":"LC1" } }
|
|
110
|
-
def submit_async_number_type_lookup_request(
|
|
110
|
+
def submit_async_number_type_lookup_request(numbers, route = nil, storage = nil)
|
|
111
111
|
|
|
112
112
|
params = {
|
|
113
113
|
:action => 'submitAsyncNumberTypeLookupRequest',
|
data/ruby_hlr_client.gemspec
CHANGED
|
@@ -11,7 +11,7 @@ Gem::Specification.new do |s|
|
|
|
11
11
|
s.homepage = 'http://www.hlr-lookups.com'
|
|
12
12
|
s.summary = %q{Official HLR Lookup API Ruby SDK by www.hlr-lookups.com}
|
|
13
13
|
s.licenses = ['Apache-2.0']
|
|
14
|
-
|
|
14
|
+
s.required_ruby_version = '>= 2.0.0'
|
|
15
15
|
|
|
16
16
|
s.add_dependency 'sinatra'
|
|
17
17
|
s.add_dependency 'rest_client'
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ruby_hlr_client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 63
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 0
|
|
9
|
-
-
|
|
10
|
-
version: 0.0.
|
|
9
|
+
- 16
|
|
10
|
+
version: 0.0.16
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Velocity Made Good Ltd.
|
|
@@ -96,10 +96,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
96
96
|
requirements:
|
|
97
97
|
- - ">="
|
|
98
98
|
- !ruby/object:Gem::Version
|
|
99
|
-
hash:
|
|
99
|
+
hash: 15
|
|
100
100
|
segments:
|
|
101
|
+
- 2
|
|
101
102
|
- 0
|
|
102
|
-
|
|
103
|
+
- 0
|
|
104
|
+
version: 2.0.0
|
|
103
105
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
104
106
|
none: false
|
|
105
107
|
requirements:
|