clicksign-api 1.0.0 → 1.1.0.alpha3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +25 -0
- data/Gemfile.lock +62 -37
- data/README.md +78 -11
- data/clicksign-api.gemspec +4 -3
- data/lib/clicksign/api/batch.rb +3 -2
- data/lib/clicksign/api/document.rb +7 -5
- data/lib/clicksign/api/documents_signers.rb +5 -4
- data/lib/clicksign/api/notifier.rb +3 -2
- data/lib/clicksign/api/requests.rb +4 -4
- data/lib/clicksign/api/signer.rb +3 -2
- data/lib/clicksign/api/version.rb +2 -2
- data/lib/clicksign/api/whatsapp_notifier.rb +26 -0
- data/lib/clicksign/api.rb +17 -13
- metadata +25 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d11f64e7417787bde2ab879785fccf87ebfcf30f4b3db77c1ca8ba6798c9117b
|
4
|
+
data.tar.gz: 7f56bec3b6074b20f50e6ac3fa8ff13e2ebcd215d2cba373ca86b1e1d97505e8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 54be14b9d9e0eb0e965d965800d79a8fc0b209945b232c524836d334392430b4ef256c7b24bc396896a0e284ffb2bc74ae5f9963d3e8c3a933ce69f8b7aa9c2b
|
7
|
+
data.tar.gz: b987296d24c8885b3e0559ed9860a0de273d4c70d851802fcbec2b7c665a722336cd2af4a4eb1444afb36d8eacbcb2d787f8b3c927b02473321fe3f27c1c597b
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
# Clicksign::API 1.1.0 (Octuber 29, 2021)
|
2
|
+
|
3
|
+
Add support to multiple credentials.
|
4
|
+
This is useful to work with different environments, providing flexibility.
|
5
|
+
For example, applications have different tokens for each environment.
|
6
|
+
Other useful case, occurs working with multiple companies.
|
7
|
+
|
8
|
+
The credentials should be a hash.
|
9
|
+
It is possible use a `.yml` file to configure the authentication tokens.
|
10
|
+
The `.yml` file can get the tokens using environment variables.
|
11
|
+
Now all requests receive token parameter, that represents the key associated with the token.
|
12
|
+
|
13
|
+
## Examples:
|
14
|
+
|
15
|
+
YML file
|
16
|
+
```ruby
|
17
|
+
=> key.production: ENV['CLICKSIGN_ACCESS_TOKEN_PRODUCTION']
|
18
|
+
=> key.sandbox: ENV['CLICKSIGN_ACCESS_TOKEN_SANDBOX']
|
19
|
+
```
|
20
|
+
|
21
|
+
Request:
|
22
|
+
```ruby
|
23
|
+
=> file = File.open('/path/to/file/local/file.pdf', 'r')
|
24
|
+
=> response = Clicksign::API::Document.create( params: { path: '/path/to/file/on/clicksign.pdf', file: file }, token: 'key.production')
|
25
|
+
```
|
data/Gemfile.lock
CHANGED
@@ -1,65 +1,90 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
clicksign-api (1.0.
|
4
|
+
clicksign-api (1.1.0.alpha3)
|
5
5
|
faraday
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
9
9
|
specs:
|
10
|
-
addressable (2.
|
11
|
-
public_suffix (>= 2.0.2, <
|
10
|
+
addressable (2.8.0)
|
11
|
+
public_suffix (>= 2.0.2, < 5.0)
|
12
12
|
byebug (10.0.2)
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
13
|
+
coderay (1.1.3)
|
14
|
+
crack (0.4.5)
|
15
|
+
rexml
|
16
|
+
diff-lcs (1.4.4)
|
17
|
+
docile (1.4.0)
|
18
|
+
dotenv (2.7.6)
|
19
|
+
faraday (1.8.0)
|
20
|
+
faraday-em_http (~> 1.0)
|
21
|
+
faraday-em_synchrony (~> 1.0)
|
22
|
+
faraday-excon (~> 1.1)
|
23
|
+
faraday-httpclient (~> 1.0.1)
|
24
|
+
faraday-net_http (~> 1.0)
|
25
|
+
faraday-net_http_persistent (~> 1.1)
|
26
|
+
faraday-patron (~> 1.0)
|
27
|
+
faraday-rack (~> 1.0)
|
19
28
|
multipart-post (>= 1.2, < 3)
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
29
|
+
ruby2_keywords (>= 0.0.4)
|
30
|
+
faraday-em_http (1.0.0)
|
31
|
+
faraday-em_synchrony (1.0.0)
|
32
|
+
faraday-excon (1.1.0)
|
33
|
+
faraday-httpclient (1.0.1)
|
34
|
+
faraday-net_http (1.0.1)
|
35
|
+
faraday-net_http_persistent (1.2.0)
|
36
|
+
faraday-patron (1.0.0)
|
37
|
+
faraday-rack (1.0.0)
|
38
|
+
hashdiff (1.0.1)
|
39
|
+
method_source (1.0.0)
|
40
|
+
multipart-post (2.1.1)
|
41
|
+
pry (0.14.1)
|
42
|
+
coderay (~> 1.1)
|
43
|
+
method_source (~> 1.0)
|
44
|
+
public_suffix (4.0.6)
|
45
|
+
rake (13.0.6)
|
46
|
+
rexml (3.2.5)
|
47
|
+
rspec (3.10.0)
|
48
|
+
rspec-core (~> 3.10.0)
|
49
|
+
rspec-expectations (~> 3.10.0)
|
50
|
+
rspec-mocks (~> 3.10.0)
|
51
|
+
rspec-core (3.10.1)
|
52
|
+
rspec-support (~> 3.10.0)
|
53
|
+
rspec-expectations (3.10.1)
|
32
54
|
diff-lcs (>= 1.2.0, < 2.0)
|
33
|
-
rspec-support (~> 3.
|
34
|
-
rspec-mocks (3.
|
55
|
+
rspec-support (~> 3.10.0)
|
56
|
+
rspec-mocks (3.10.2)
|
35
57
|
diff-lcs (>= 1.2.0, < 2.0)
|
36
|
-
rspec-support (~> 3.
|
37
|
-
rspec-support (3.
|
38
|
-
|
39
|
-
simplecov (0.
|
58
|
+
rspec-support (~> 3.10.0)
|
59
|
+
rspec-support (3.10.2)
|
60
|
+
ruby2_keywords (0.0.5)
|
61
|
+
simplecov (0.21.2)
|
40
62
|
docile (~> 1.1)
|
41
|
-
|
42
|
-
|
43
|
-
simplecov-html (0.
|
63
|
+
simplecov-html (~> 0.11)
|
64
|
+
simplecov_json_formatter (~> 0.1)
|
65
|
+
simplecov-html (0.12.3)
|
66
|
+
simplecov_json_formatter (0.1.3)
|
44
67
|
vcr (4.0.0)
|
45
|
-
webmock (3.
|
46
|
-
addressable (>= 2.
|
68
|
+
webmock (3.14.0)
|
69
|
+
addressable (>= 2.8.0)
|
47
70
|
crack (>= 0.3.2)
|
48
|
-
hashdiff
|
71
|
+
hashdiff (>= 0.4.0, < 2.0.0)
|
49
72
|
|
50
73
|
PLATFORMS
|
51
|
-
|
74
|
+
x86_64-darwin-20
|
75
|
+
x86_64-linux
|
52
76
|
|
53
77
|
DEPENDENCIES
|
54
|
-
bundler (~>
|
78
|
+
bundler (~> 2.2)
|
55
79
|
byebug (~> 10.0)
|
56
80
|
clicksign-api!
|
57
81
|
dotenv (~> 2.5)
|
58
|
-
|
82
|
+
pry
|
83
|
+
rake (~> 13.0)
|
59
84
|
rspec (~> 3.0)
|
60
85
|
simplecov (~> 0.16)
|
61
86
|
vcr (~> 4.0)
|
62
87
|
webmock (~> 3.0)
|
63
88
|
|
64
89
|
BUNDLED WITH
|
65
|
-
|
90
|
+
2.2.29
|
data/README.md
CHANGED
@@ -26,8 +26,14 @@ Or install it yourself as:
|
|
26
26
|
By default, all requests use Clicksign's SANDBOX.
|
27
27
|
|
28
28
|
```ruby
|
29
|
+
credentials = {
|
30
|
+
"key.production" => ENV["CLICKSIGN_ACCESS_TOKEN_PRODUCTION"]
|
31
|
+
"key.sandbox" => ENV["CLICKSIGN_ACCESS_TOKEN_SANDBOX"]
|
32
|
+
}
|
33
|
+
|
29
34
|
Clicksign::API.configure do |config|
|
30
|
-
config.
|
35
|
+
config.credentials = credentials
|
36
|
+
config.production = false
|
31
37
|
end
|
32
38
|
```
|
33
39
|
|
@@ -47,41 +53,102 @@ To see all available parameters, please, check the [API docs](https://developers
|
|
47
53
|
#### Create documents
|
48
54
|
|
49
55
|
```ruby
|
50
|
-
|
56
|
+
file = File.open('/path/to/file/local/file.pdf', 'r')
|
57
|
+
document = Clicksign::API::Document.create( params: { path: '/path/to/file/on/clicksign.pdf', file: file }, token: 'valid_token')
|
51
58
|
=> #<Faraday::Response ...>
|
52
59
|
|
53
|
-
|
60
|
+
document.success?
|
54
61
|
=> true # false
|
55
62
|
|
56
|
-
JSON.parse(
|
63
|
+
response_document = JSON.parse(document.body)
|
57
64
|
=> {:document=> {:key=> '...', :path=> '...', :status => '...', ... }
|
65
|
+
=> # key: '123abcd' as example!
|
58
66
|
```
|
59
67
|
|
60
68
|
#### View documents
|
61
69
|
|
62
70
|
```ruby
|
63
|
-
|
71
|
+
find_document = Clicksign::API::Document.find(params: { key: response_document['document']['key'] }, token: 'valid_token')
|
64
72
|
=> #<Faraday::Response ...>
|
65
73
|
|
66
|
-
|
74
|
+
find_document.success?
|
67
75
|
=> true # false
|
68
76
|
|
69
|
-
JSON.parse(
|
77
|
+
JSON.parse(find_document.body)
|
70
78
|
=> {:document=> {:key=> '...', :path=> '...', :status => '...', ... }
|
71
79
|
```
|
72
80
|
|
73
|
-
####
|
81
|
+
#### Create Signers
|
74
82
|
|
75
83
|
```ruby
|
76
|
-
|
84
|
+
signer = Clicksign::API::Signer.create(params: { email: 'mail@email.com', auths: ['email'], delivery: 'email' }, token: 'valid_token')
|
77
85
|
=> #<Faraday::Response ...>
|
78
86
|
|
79
|
-
|
87
|
+
signer.success?
|
80
88
|
=> true # false
|
81
89
|
|
82
|
-
JSON.parse(
|
90
|
+
response_signer = JSON.parse(signer.body)
|
83
91
|
=> {:document=> {:key=> '...', :path=> '...', :status => '...', ... }
|
92
|
+
=> # signer_key: '999poo' as example!
|
84
93
|
```
|
94
|
+
#### Add Signers to Document
|
95
|
+
|
96
|
+
```ruby
|
97
|
+
|
98
|
+
signer_document = Clicksign::API::DocumentsSigners.create(params: { document_key: response_document['document']['key'], signer_key: response_signer['key'], sign_as: 'sign_as' }, token: 'valid_token')
|
99
|
+
=> #<Faraday::Response ...>
|
100
|
+
|
101
|
+
signer_document.success?
|
102
|
+
=> true # false
|
103
|
+
|
104
|
+
response_signer_document = JSON.parse(signer_document.body)
|
105
|
+
=> {:document=> {:key=> '...', :path=> '...', :status => '...', ... }
|
106
|
+
```
|
107
|
+
|
108
|
+
##### Creating Documents in Batches
|
109
|
+
|
110
|
+
```ruby
|
111
|
+
|
112
|
+
batch = Clicksign::API::Batch.create(params: { document_keys: [response_document['document']['key'], 'other_document_key'], signer_key: response_signer['key'], summary: true}, token: 'valid_token')
|
113
|
+
=> #<Faraday::Response ...>
|
114
|
+
|
115
|
+
batch.success?
|
116
|
+
=> true # false
|
117
|
+
|
118
|
+
rseponse_batch = JSON.parse(batch.body)
|
119
|
+
=> #{"batch"=> {"key"=>"3dd7fa89-15f7-48b6-81e8-7d14a273bbb8"
|
120
|
+
|
121
|
+
```
|
122
|
+
#### Notifying Signer by e-mail
|
123
|
+
|
124
|
+
```ruby
|
125
|
+
request_signature_key = JSON.parse(response_document_above.body)['document']['signers'].first['request_signature_key']
|
126
|
+
notify = Clicksign::API::Notifier.notify(params: { request_signature_key: request_signature_key }, token: 'valid_token')
|
127
|
+
=> #<Faraday::Response ...>
|
128
|
+
|
129
|
+
notify.success?
|
130
|
+
=> true # false
|
131
|
+
|
132
|
+
JSON.parse(notify.body)
|
133
|
+
=> ##<struct Faraday::Env, method=:post request_body="{\"request_signature_key\":
|
134
|
+
|
135
|
+
```
|
136
|
+
|
137
|
+
#### Notifying Signer by whatsapp
|
138
|
+
|
139
|
+
```ruby
|
140
|
+
=> # To deliver this content, its necessary add `phone_number` on Signer
|
141
|
+
|
142
|
+
request_signature_key = JSON.parse(response_document_above.body)['document']['signers'].first['request_signature_key']
|
143
|
+
notify = Clicksign::API::Notifier.notify(params: { request_signature_key: request_signature_key }, token: 'valid_token')
|
144
|
+
=> #<Faraday::Response ...>
|
145
|
+
|
146
|
+
notify.success?
|
147
|
+
=> true # false
|
148
|
+
|
149
|
+
JSON.parse(notify.body)
|
150
|
+
=> ##<struct Faraday::Env, method=:post request_body="{\"request_signature_key\":
|
151
|
+
|
85
152
|
|
86
153
|
## Development
|
87
154
|
|
data/clicksign-api.gemspec
CHANGED
@@ -5,7 +5,7 @@ require "clicksign/api/version"
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |spec|
|
7
7
|
spec.name = 'clicksign-api'
|
8
|
-
spec.version = Clicksign::
|
8
|
+
spec.version = Clicksign::API::VERSION
|
9
9
|
spec.authors = ['Francisco Martins']
|
10
10
|
spec.email = ['franciscomxs@gmail.com']
|
11
11
|
|
@@ -21,8 +21,8 @@ Gem::Specification.new do |spec|
|
|
21
21
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
22
22
|
spec.require_paths = ['lib']
|
23
23
|
|
24
|
-
spec.add_development_dependency 'bundler', '~>
|
25
|
-
spec.add_development_dependency 'rake', '~>
|
24
|
+
spec.add_development_dependency 'bundler', '~> 2.2'
|
25
|
+
spec.add_development_dependency 'rake', '~> 13.0'
|
26
26
|
spec.add_development_dependency 'rspec', '~> 3.0'
|
27
27
|
spec.add_dependency 'faraday'
|
28
28
|
|
@@ -31,4 +31,5 @@ Gem::Specification.new do |spec|
|
|
31
31
|
spec.add_development_dependency 'webmock', '~> 3.0'
|
32
32
|
spec.add_development_dependency 'byebug', '~> 10.0'
|
33
33
|
spec.add_development_dependency 'dotenv', '~> 2.5'
|
34
|
+
spec.add_development_dependency 'pry'
|
34
35
|
end
|
data/lib/clicksign/api/batch.rb
CHANGED
@@ -4,18 +4,20 @@ module Clicksign
|
|
4
4
|
extend Requests
|
5
5
|
|
6
6
|
REQUEST_PATH = '/api/v1/documents/'
|
7
|
-
ATTRIBUTES = [:path, :deadline_at, :auto_close, :locale]
|
7
|
+
ATTRIBUTES = [:path, :deadline_at, :auto_close, :locale, :content_base64]
|
8
8
|
|
9
9
|
class << self
|
10
|
-
def create(params
|
11
|
-
post(REQUEST_PATH, body(params))
|
10
|
+
def create(token:, params: {})
|
11
|
+
post(REQUEST_PATH, body(params), token)
|
12
12
|
end
|
13
13
|
|
14
|
-
def find(
|
15
|
-
get(REQUEST_PATH + key)
|
14
|
+
def find(token:, params:)
|
15
|
+
get(REQUEST_PATH + params[:key], token)
|
16
16
|
end
|
17
17
|
|
18
18
|
def body(params)
|
19
|
+
params = params.transform_keys(&:to_sym)
|
20
|
+
|
19
21
|
document = ATTRIBUTES.each.with_object({}) do |attribute, hash|
|
20
22
|
hash[attribute] = params[attribute] if params.has_key?(attribute)
|
21
23
|
end
|
@@ -9,16 +9,17 @@ module Clicksign
|
|
9
9
|
]
|
10
10
|
|
11
11
|
class << self
|
12
|
-
def create(params)
|
12
|
+
def create(token:, params: {})
|
13
13
|
post(
|
14
14
|
REQUEST_PATH,
|
15
|
-
body(params)
|
15
|
+
body(params),
|
16
|
+
token
|
16
17
|
)
|
17
18
|
end
|
18
19
|
|
19
|
-
def batch_create(batch)
|
20
|
+
def batch_create(token:, batch:)
|
20
21
|
batch.map do |params|
|
21
|
-
create(params)
|
22
|
+
create(token: token, params: params)
|
22
23
|
end
|
23
24
|
end
|
24
25
|
|
@@ -1,17 +1,17 @@
|
|
1
1
|
module Clicksign
|
2
2
|
module API
|
3
3
|
module Requests
|
4
|
-
def post(request_path, body)
|
4
|
+
def post(request_path, body, token)
|
5
5
|
conn.post do |req|
|
6
|
-
req.url request_path, { access_token: Clicksign::API.
|
6
|
+
req.url request_path, { access_token: Clicksign::API.credentials[token] }
|
7
7
|
req.headers['Content-Type'] = 'application/json'
|
8
8
|
req.body = body.to_json
|
9
9
|
end
|
10
10
|
end
|
11
11
|
|
12
|
-
def get(request_path)
|
12
|
+
def get(request_path, token)
|
13
13
|
conn.get do |req|
|
14
|
-
req.url request_path, { access_token: Clicksign::API.
|
14
|
+
req.url request_path, { access_token: Clicksign::API.credentials[token] }
|
15
15
|
req.headers['Content-Type'] = 'application/json'
|
16
16
|
end
|
17
17
|
end
|
data/lib/clicksign/api/signer.rb
CHANGED
@@ -0,0 +1,26 @@
|
|
1
|
+
module Clicksign
|
2
|
+
module API
|
3
|
+
class WhatsappNotifier
|
4
|
+
extend Requests
|
5
|
+
|
6
|
+
REQUEST_PATH = '/api/v1/notify_by_whatsapp'
|
7
|
+
ATTRIBUTES = [:request_signature_key]
|
8
|
+
|
9
|
+
class << self
|
10
|
+
def notify(token:, params: {})
|
11
|
+
post(
|
12
|
+
REQUEST_PATH,
|
13
|
+
body(params),
|
14
|
+
token
|
15
|
+
)
|
16
|
+
end
|
17
|
+
|
18
|
+
def body(params)
|
19
|
+
ATTRIBUTES.each.with_object({}) do |attribute, hash|
|
20
|
+
hash[attribute] = params[attribute] if params.has_key?(attribute)
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
data/lib/clicksign/api.rb
CHANGED
@@ -1,26 +1,30 @@
|
|
1
|
-
require
|
1
|
+
require 'clicksign/api/version'
|
2
2
|
|
3
|
-
require
|
4
|
-
require
|
3
|
+
require 'faraday'
|
4
|
+
require 'base64'
|
5
|
+
require 'json'
|
6
|
+
require 'yaml'
|
7
|
+
require 'erb'
|
5
8
|
|
6
9
|
begin
|
7
|
-
require
|
8
|
-
require
|
10
|
+
require 'dotenv/load'
|
11
|
+
require 'byebug'
|
12
|
+
require 'pry'
|
9
13
|
rescue LoadError
|
10
14
|
end
|
11
15
|
|
12
|
-
require
|
13
|
-
require
|
14
|
-
require
|
15
|
-
require
|
16
|
-
require
|
17
|
-
require
|
18
|
-
|
16
|
+
require 'clicksign/api/requests'
|
17
|
+
require 'clicksign/api/batch'
|
18
|
+
require 'clicksign/api/document'
|
19
|
+
require 'clicksign/api/documents_signers'
|
20
|
+
require 'clicksign/api/signer'
|
21
|
+
require 'clicksign/api/notifier'
|
22
|
+
require 'clicksign/api/whatsapp_notifier'
|
19
23
|
|
20
24
|
module Clicksign
|
21
25
|
module API
|
22
26
|
class << self
|
23
|
-
attr_accessor :
|
27
|
+
attr_accessor :credentials, :production
|
24
28
|
|
25
29
|
def configure
|
26
30
|
yield(self)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: clicksign-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.1.0.alpha3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Francisco Martins
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-11-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -16,28 +16,28 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '2.2'
|
20
20
|
type: :development
|
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: '2.2'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '13.0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
40
|
+
version: '13.0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rspec
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -136,6 +136,20 @@ dependencies:
|
|
136
136
|
- - "~>"
|
137
137
|
- !ruby/object:Gem::Version
|
138
138
|
version: '2.5'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: pry
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - ">="
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '0'
|
146
|
+
type: :development
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - ">="
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '0'
|
139
153
|
description:
|
140
154
|
email:
|
141
155
|
- franciscomxs@gmail.com
|
@@ -149,6 +163,7 @@ files:
|
|
149
163
|
- ".ruby-gemset"
|
150
164
|
- ".ruby-version"
|
151
165
|
- ".travis.yml"
|
166
|
+
- CHANGELOG.md
|
152
167
|
- Gemfile
|
153
168
|
- Gemfile.lock
|
154
169
|
- README.md
|
@@ -164,6 +179,7 @@ files:
|
|
164
179
|
- lib/clicksign/api/requests.rb
|
165
180
|
- lib/clicksign/api/signer.rb
|
166
181
|
- lib/clicksign/api/version.rb
|
182
|
+
- lib/clicksign/api/whatsapp_notifier.rb
|
167
183
|
homepage: https://github.com/NexoosBR/clicksign-api
|
168
184
|
licenses: []
|
169
185
|
metadata: {}
|
@@ -178,12 +194,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
178
194
|
version: '0'
|
179
195
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
180
196
|
requirements:
|
181
|
-
- - "
|
197
|
+
- - ">"
|
182
198
|
- !ruby/object:Gem::Version
|
183
|
-
version:
|
199
|
+
version: 1.3.1
|
184
200
|
requirements: []
|
185
|
-
|
186
|
-
rubygems_version: 2.7.6
|
201
|
+
rubygems_version: 3.1.6
|
187
202
|
signing_key:
|
188
203
|
specification_version: 4
|
189
204
|
summary: Clicksign API ruby interface
|