esignatur 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/Gemfile.lock +3 -3
- data/README.md +3 -1
- data/lib/esignatur/order.rb +1 -1
- data/lib/esignatur/pades.rb +4 -4
- data/lib/esignatur/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 3df94f222684c0d0958e2bd821eaa47407c40027da78ec96787456c16074af3b
|
4
|
+
data.tar.gz: 3098700001492334f205e87ff4e87c203f9be7c2bb595659079932911267f239
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 94b31a2004fd39adf2aec412039a5e5e4e81741e179c468b47b8e95b2cfa95c6a7e6ba90da2e9fed4d1a816c1287677e4af1a8c64a483351a5e02a45c6fdf0e4
|
7
|
+
data.tar.gz: '036769e4f30f82474f5309c2d8c2c0e2e8194c584bf262ac448b2d71af055d21eac957bedc103995d0a2de6a1fb0a486f63030f89308be874654c16e78b5d508'
|
data/Gemfile.lock
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
esignatur (1.1.
|
4
|
+
esignatur (1.1.1)
|
5
5
|
activesupport (>= 3.0)
|
6
6
|
faraday (>= 0.10)
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: https://rubygems.org/
|
10
10
|
specs:
|
11
|
-
activesupport (5.2.
|
11
|
+
activesupport (5.2.0)
|
12
12
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
13
13
|
i18n (>= 0.7, < 2)
|
14
14
|
minitest (~> 5.1)
|
@@ -30,7 +30,7 @@ GEM
|
|
30
30
|
faraday (0.15.2)
|
31
31
|
multipart-post (>= 1.2, < 3)
|
32
32
|
hashdiff (0.3.7)
|
33
|
-
i18n (1.1
|
33
|
+
i18n (1.0.1)
|
34
34
|
concurrent-ruby (~> 1.0)
|
35
35
|
jaro_winkler (1.5.1)
|
36
36
|
json (2.1.0)
|
data/README.md
CHANGED
@@ -30,7 +30,9 @@ esignatur = Esignatur::Client.new(api_key: your_api_key)
|
|
30
30
|
|
31
31
|
esignatur.orders.where(modified_since: Date.new(2000, 1, 1))
|
32
32
|
|
33
|
-
order = esignatur.orders.find(
|
33
|
+
order = esignatur.orders.find(esignatur_order_id)
|
34
|
+
|
35
|
+
order = esignatur.orders.build
|
34
36
|
order.create(some_order_params) # creates order on esignatur side
|
35
37
|
order.status # returns Status object
|
36
38
|
order.cancel # => true/false
|
data/lib/esignatur/order.rb
CHANGED
data/lib/esignatur/pades.rb
CHANGED
@@ -21,12 +21,12 @@ module Esignatur
|
|
21
21
|
Base64.decode64(attributes.fetch('DocumentData'))
|
22
22
|
end
|
23
23
|
|
24
|
-
private
|
25
|
-
|
26
|
-
attr_reader :api
|
27
|
-
|
28
24
|
def fetch
|
29
25
|
@attributes = api_post('Pades/Download', 'Id' => order.id, 'DocumentIndex' => 0).json_body
|
30
26
|
end
|
27
|
+
|
28
|
+
private
|
29
|
+
|
30
|
+
attr_reader :api
|
31
31
|
end
|
32
32
|
end
|
data/lib/esignatur/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: esignatur
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Povilas Jurcys
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-10-
|
11
|
+
date: 2018-10-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -218,7 +218,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
218
218
|
version: '0'
|
219
219
|
requirements: []
|
220
220
|
rubyforge_project:
|
221
|
-
rubygems_version: 2.6
|
221
|
+
rubygems_version: 2.7.6
|
222
222
|
signing_key:
|
223
223
|
specification_version: 4
|
224
224
|
summary: ruby API client for esignatur.dk
|