mifiel 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -1
- data/lib/mifiel/document.rb +4 -3
- data/lib/mifiel/version.rb +1 -1
- data/mifiel.gemspec +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f273b8cbbfbffa64f1e4c141bf8f02a29dcfbd34
|
4
|
+
data.tar.gz: 682f35bda80e9c2d625b18256cb607edd9229597
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6a088f2857cc587af2576982cc21e604a3bd11f52c8c141f50c2fb66348b3c3d7794d15188d8b3c64c0a67ed35551e1d288d9943118d729e27935a6bc6a197e1
|
7
|
+
data.tar.gz: 3b7d079a06bd1ba6b5747df3f3b7e3df00d51b0ef0dca76250118f9a1dbf34460ffafb63b35b5416615c457b008c4578260d85f29ab72e51271d95cab02f1b7b
|
data/.travis.yml
CHANGED
data/lib/mifiel/document.rb
CHANGED
@@ -7,7 +7,7 @@ module Mifiel
|
|
7
7
|
put :save, '/documents/:id'
|
8
8
|
delete :delete, '/documents/:id'
|
9
9
|
|
10
|
-
def self.create(file:, signatories:, hash:nil)
|
10
|
+
def self.create(file:, signatories:, hash:nil, callback_url:nil)
|
11
11
|
sgries = {}
|
12
12
|
signatories.each_with_index { |s, i| sgries[i] = s }
|
13
13
|
rest_request = RestClient::Request.new(
|
@@ -15,8 +15,9 @@ module Mifiel
|
|
15
15
|
method: :post,
|
16
16
|
payload: {
|
17
17
|
file: File.new(file),
|
18
|
-
|
19
|
-
signatories: sgries
|
18
|
+
original_hash: hash,
|
19
|
+
signatories: sgries,
|
20
|
+
callback_url: callback_url
|
20
21
|
},
|
21
22
|
ssl_version: 'SSLv23'
|
22
23
|
)
|
data/lib/mifiel/version.rb
CHANGED
data/mifiel.gemspec
CHANGED
@@ -9,7 +9,7 @@ Gem::Specification.new do |spec|
|
|
9
9
|
spec.authors = ['Genaro Madrid']
|
10
10
|
spec.email = ['genmadrid@gmail.com']
|
11
11
|
spec.summary = 'Ruby SDK for mifiel.com.'
|
12
|
-
spec.homepage = 'https://
|
12
|
+
spec.homepage = 'https://www.mifiel.com'
|
13
13
|
spec.license = 'MIT'
|
14
14
|
|
15
15
|
spec.files = `git ls-files -z`.split("\x0")
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mifiel
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Genaro Madrid
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-01-
|
11
|
+
date: 2016-01-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rest-client
|
@@ -261,7 +261,7 @@ files:
|
|
261
261
|
- spec/mifiel/document_spec.rb
|
262
262
|
- spec/spec_helper.rb
|
263
263
|
- spec/support/fake_mifiel.rb
|
264
|
-
homepage: https://
|
264
|
+
homepage: https://www.mifiel.com
|
265
265
|
licenses:
|
266
266
|
- MIT
|
267
267
|
metadata: {}
|