direct7 0.0.9 → 0.0.10
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/doc/Direct7/AuthenticationError.html +1 -1
- data/doc/Direct7/BadRequest.html +1 -1
- data/doc/Direct7/Client.html +1 -1
- data/doc/Direct7/ClientError.html +1 -1
- data/doc/Direct7/InsufficientCreditError.html +1 -1
- data/doc/Direct7/NUMBER_LOOKUP.html +1 -1
- data/doc/Direct7/NotFoundError.html +1 -1
- data/doc/Direct7/SLACK.html +1 -1
- data/doc/Direct7/SMS.html +1 -1
- data/doc/Direct7/ServerError.html +1 -1
- data/doc/Direct7/VERIFY.html +1 -1
- data/doc/Direct7/VIBER.html +1 -1
- data/doc/Direct7/ValidationError.html +1 -1
- data/doc/Direct7/WHATSAPP.html +1 -1
- data/doc/Direct7.html +2 -2
- data/doc/_index.html +1 -1
- data/doc/file.README.html +13 -3
- data/doc/index.html +13 -3
- data/doc/top-level-namespace.html +1 -1
- metadata +44 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0ab7b133762eedd5c516199b14e355ad4d1591bd6b3349afab384483fc999252
|
4
|
+
data.tar.gz: 5659b71c00f499090e0c043594fede035a56a830292d5af39bc09883486008a7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b3b3e633c4f5e52991c096f3d3e3cd2f32dcc83cdd5ca267719e909bdf77339ff3093284dc0120b55dce91724bb893794e7657700021f4bd6b40177a8966db0e
|
7
|
+
data.tar.gz: 6159c146833f13f7407da025d4adf13941c37b97436f0d427cf780b93c331faf65cecc4bfc5c28567607b8c28d30f6c860f1ae2402a98f64fff87a81d6b56bb5
|
@@ -196,7 +196,7 @@
|
|
196
196
|
</div>
|
197
197
|
|
198
198
|
<div id="footer">
|
199
|
-
Generated on
|
199
|
+
Generated on Wed Dec 6 16:47:42 2023 by
|
200
200
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
201
201
|
0.9.34 (ruby-2.7.4).
|
202
202
|
</div>
|
data/doc/Direct7/BadRequest.html
CHANGED
@@ -114,7 +114,7 @@
|
|
114
114
|
</div>
|
115
115
|
|
116
116
|
<div id="footer">
|
117
|
-
Generated on
|
117
|
+
Generated on Wed Dec 6 16:47:42 2023 by
|
118
118
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
119
119
|
0.9.34 (ruby-2.7.4).
|
120
120
|
</div>
|
data/doc/Direct7/Client.html
CHANGED
@@ -1115,7 +1115,7 @@
|
|
1115
1115
|
</div>
|
1116
1116
|
|
1117
1117
|
<div id="footer">
|
1118
|
-
Generated on
|
1118
|
+
Generated on Wed Dec 6 16:47:42 2023 by
|
1119
1119
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1120
1120
|
0.9.34 (ruby-2.7.4).
|
1121
1121
|
</div>
|
@@ -114,7 +114,7 @@
|
|
114
114
|
</div>
|
115
115
|
|
116
116
|
<div id="footer">
|
117
|
-
Generated on
|
117
|
+
Generated on Wed Dec 6 16:47:42 2023 by
|
118
118
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
119
119
|
0.9.34 (ruby-2.7.4).
|
120
120
|
</div>
|
@@ -114,7 +114,7 @@
|
|
114
114
|
</div>
|
115
115
|
|
116
116
|
<div id="footer">
|
117
|
-
Generated on
|
117
|
+
Generated on Wed Dec 6 16:47:42 2023 by
|
118
118
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
119
119
|
0.9.34 (ruby-2.7.4).
|
120
120
|
</div>
|
@@ -273,7 +273,7 @@
|
|
273
273
|
</div>
|
274
274
|
|
275
275
|
<div id="footer">
|
276
|
-
Generated on
|
276
|
+
Generated on Wed Dec 6 16:47:42 2023 by
|
277
277
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
278
278
|
0.9.34 (ruby-2.7.4).
|
279
279
|
</div>
|
@@ -114,7 +114,7 @@
|
|
114
114
|
</div>
|
115
115
|
|
116
116
|
<div id="footer">
|
117
|
-
Generated on
|
117
|
+
Generated on Wed Dec 6 16:47:42 2023 by
|
118
118
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
119
119
|
0.9.34 (ruby-2.7.4).
|
120
120
|
</div>
|
data/doc/Direct7/SLACK.html
CHANGED
@@ -339,7 +339,7 @@
|
|
339
339
|
</div>
|
340
340
|
|
341
341
|
<div id="footer">
|
342
|
-
Generated on
|
342
|
+
Generated on Wed Dec 6 16:47:42 2023 by
|
343
343
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
344
344
|
0.9.34 (ruby-2.7.4).
|
345
345
|
</div>
|
data/doc/Direct7/SMS.html
CHANGED
@@ -339,7 +339,7 @@
|
|
339
339
|
</div>
|
340
340
|
|
341
341
|
<div id="footer">
|
342
|
-
Generated on
|
342
|
+
Generated on Wed Dec 6 16:47:42 2023 by
|
343
343
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
344
344
|
0.9.34 (ruby-2.7.4).
|
345
345
|
</div>
|
@@ -114,7 +114,7 @@
|
|
114
114
|
</div>
|
115
115
|
|
116
116
|
<div id="footer">
|
117
|
-
Generated on
|
117
|
+
Generated on Wed Dec 6 16:47:42 2023 by
|
118
118
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
119
119
|
0.9.34 (ruby-2.7.4).
|
120
120
|
</div>
|
data/doc/Direct7/VERIFY.html
CHANGED
@@ -483,7 +483,7 @@
|
|
483
483
|
</div>
|
484
484
|
|
485
485
|
<div id="footer">
|
486
|
-
Generated on
|
486
|
+
Generated on Wed Dec 6 16:47:42 2023 by
|
487
487
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
488
488
|
0.9.34 (ruby-2.7.4).
|
489
489
|
</div>
|
data/doc/Direct7/VIBER.html
CHANGED
@@ -341,7 +341,7 @@
|
|
341
341
|
</div>
|
342
342
|
|
343
343
|
<div id="footer">
|
344
|
-
Generated on
|
344
|
+
Generated on Wed Dec 6 16:47:42 2023 by
|
345
345
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
346
346
|
0.9.34 (ruby-2.7.4).
|
347
347
|
</div>
|
@@ -114,7 +114,7 @@
|
|
114
114
|
</div>
|
115
115
|
|
116
116
|
<div id="footer">
|
117
|
-
Generated on
|
117
|
+
Generated on Wed Dec 6 16:47:42 2023 by
|
118
118
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
119
119
|
0.9.34 (ruby-2.7.4).
|
120
120
|
</div>
|
data/doc/Direct7/WHATSAPP.html
CHANGED
@@ -517,7 +517,7 @@
|
|
517
517
|
</div>
|
518
518
|
|
519
519
|
<div id="footer">
|
520
|
-
Generated on
|
520
|
+
Generated on Wed Dec 6 16:47:42 2023 by
|
521
521
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
522
522
|
0.9.34 (ruby-2.7.4).
|
523
523
|
</div>
|
data/doc/Direct7.html
CHANGED
@@ -107,7 +107,7 @@
|
|
107
107
|
<dt id="VERSION-constant" class="">VERSION =
|
108
108
|
|
109
109
|
</dt>
|
110
|
-
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'
|
110
|
+
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>0.0.8</span><span class='tstring_end'>"</span></span></pre></dd>
|
111
111
|
|
112
112
|
</dl>
|
113
113
|
|
@@ -123,7 +123,7 @@
|
|
123
123
|
</div>
|
124
124
|
|
125
125
|
<div id="footer">
|
126
|
-
Generated on
|
126
|
+
Generated on Wed Dec 6 16:47:42 2023 by
|
127
127
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
128
128
|
0.9.34 (ruby-2.7.4).
|
129
129
|
</div>
|
data/doc/_index.html
CHANGED
@@ -262,7 +262,7 @@
|
|
262
262
|
</div>
|
263
263
|
|
264
264
|
<div id="footer">
|
265
|
-
Generated on
|
265
|
+
Generated on Wed Dec 6 16:47:41 2023 by
|
266
266
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
267
267
|
0.9.34 (ruby-2.7.4).
|
268
268
|
</div>
|
data/doc/file.README.html
CHANGED
@@ -64,14 +64,24 @@
|
|
64
64
|
|
65
65
|
<h2 id="label-Installation">Installation</h2>
|
66
66
|
|
67
|
-
<p>The SDK is available on RubyGems and can be installed using
|
67
|
+
<p>The SDK is available on RubyGems and can be installed using two methods: Add this line to your application's Gemfile:</p>
|
68
|
+
|
69
|
+
<pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_gem'>gem</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>direct7</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>~> 0.0.10</span><span class='tstring_end'>'</span></span>
|
70
|
+
</code></pre>
|
71
|
+
|
72
|
+
<p>And then execute:</p>
|
73
|
+
|
74
|
+
<pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_bundle'>bundle</span> <span class='id identifier rubyid_install'>install</span>
|
75
|
+
</code></pre>
|
76
|
+
|
77
|
+
<p>Or install it yourself as:</p>
|
68
78
|
|
69
79
|
<pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_gem'>gem</span> <span class='id identifier rubyid_install'>install</span> <span class='id identifier rubyid_direct7'>direct7</span>
|
70
80
|
</code></pre>
|
71
81
|
|
72
82
|
<h2 id="label-Usage">Usage</h2>
|
73
83
|
|
74
|
-
<p>The SDK is designed to be easy to use. To get started, you
|
84
|
+
<p>The SDK is designed to be easy to use. The library needs to be configured with your account's secret key, which is available in your <a href="https://app.d7networks.com/api-tokens">Direct7 Dashboard</a>. To get started, create a client instance by providing the key. If you haven't already, you can Login <a href="https://app.d7networks.com/signin">here</a> to access your dashboard.</p>
|
75
85
|
|
76
86
|
<h3 id="label-Send+SMS">Send SMS</h3>
|
77
87
|
|
@@ -243,7 +253,7 @@
|
|
243
253
|
</div></div>
|
244
254
|
|
245
255
|
<div id="footer">
|
246
|
-
Generated on
|
256
|
+
Generated on Wed Dec 6 16:47:42 2023 by
|
247
257
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
248
258
|
0.9.34 (ruby-2.7.4).
|
249
259
|
</div>
|
data/doc/index.html
CHANGED
@@ -64,14 +64,24 @@
|
|
64
64
|
|
65
65
|
<h2 id="label-Installation">Installation</h2>
|
66
66
|
|
67
|
-
<p>The SDK is available on RubyGems and can be installed using
|
67
|
+
<p>The SDK is available on RubyGems and can be installed using two methods: Add this line to your application's Gemfile:</p>
|
68
|
+
|
69
|
+
<pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_gem'>gem</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>direct7</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>~> 0.0.10</span><span class='tstring_end'>'</span></span>
|
70
|
+
</code></pre>
|
71
|
+
|
72
|
+
<p>And then execute:</p>
|
73
|
+
|
74
|
+
<pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_bundle'>bundle</span> <span class='id identifier rubyid_install'>install</span>
|
75
|
+
</code></pre>
|
76
|
+
|
77
|
+
<p>Or install it yourself as:</p>
|
68
78
|
|
69
79
|
<pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_gem'>gem</span> <span class='id identifier rubyid_install'>install</span> <span class='id identifier rubyid_direct7'>direct7</span>
|
70
80
|
</code></pre>
|
71
81
|
|
72
82
|
<h2 id="label-Usage">Usage</h2>
|
73
83
|
|
74
|
-
<p>The SDK is designed to be easy to use. To get started, you
|
84
|
+
<p>The SDK is designed to be easy to use. The library needs to be configured with your account's secret key, which is available in your <a href="https://app.d7networks.com/api-tokens">Direct7 Dashboard</a>. To get started, create a client instance by providing the key. If you haven't already, you can Login <a href="https://app.d7networks.com/signin">here</a> to access your dashboard.</p>
|
75
85
|
|
76
86
|
<h3 id="label-Send+SMS">Send SMS</h3>
|
77
87
|
|
@@ -243,7 +253,7 @@
|
|
243
253
|
</div></div>
|
244
254
|
|
245
255
|
<div id="footer">
|
246
|
-
Generated on
|
256
|
+
Generated on Wed Dec 6 16:47:42 2023 by
|
247
257
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
248
258
|
0.9.34 (ruby-2.7.4).
|
249
259
|
</div>
|
@@ -100,7 +100,7 @@
|
|
100
100
|
</div>
|
101
101
|
|
102
102
|
<div id="footer">
|
103
|
-
Generated on
|
103
|
+
Generated on Wed Dec 6 16:47:42 2023 by
|
104
104
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
105
105
|
0.9.34 (ruby-2.7.4).
|
106
106
|
</div>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: direct7
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Direct7 Networks
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-12-
|
11
|
+
date: 2023-12-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|
@@ -38,6 +38,34 @@ dependencies:
|
|
38
38
|
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: net-http-persistent
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '4.0'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '4.0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rake
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 13.1.0
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 13.1.0
|
41
69
|
- !ruby/object:Gem::Dependency
|
42
70
|
name: bundler
|
43
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -52,6 +80,20 @@ dependencies:
|
|
52
80
|
- - ">="
|
53
81
|
- !ruby/object:Gem::Version
|
54
82
|
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: rspec
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
55
97
|
description: |-
|
56
98
|
This Ruby SDK provides a convenient and easy-to-use interface to the Direct7 REST API. The SDK allows you to perform
|
57
99
|
all the operations that are available through the REST API.
|