esignatur 1.2.4 → 1.2.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c426bae69658e6cdeb5bb6b0915fc49f924af767a44fbbf88b59d4f4b5fdfb63
4
- data.tar.gz: f89779039b9d2f502d90fd75ed381eb7db01b50065921cb87e0d654c6161392d
3
+ metadata.gz: ebf35630ee3aeeed8e022c97896c332c4712462901211943386878dcca936fd0
4
+ data.tar.gz: 3329b1ea036c4bd757d6f8db431c82d45fe45fd1616eaa2d20c479fa80f028e7
5
5
  SHA512:
6
- metadata.gz: da704fed703023c1147ecad8977e0707c65c822d38636c65695b4ac2f5a8403684e70c0ebbb079f132fbc63a544a91ceab91ae1f7f3523606bc020764c9e2cf8
7
- data.tar.gz: bf28a4239d0b4bd836c8e83489b7069796c2decbff56ce132db9f1747c8cc82bfe037ff02eda1ba77d58adb8e05927ef01502c785eb908101816cd00ab20f179
6
+ metadata.gz: 3a1a085ab2d68640ad7096f01ef1b467bc0f4a7f047ea2f7d75183532094dd89d407ecc5d59fc5027c23462a7064f1c56e62d82960dd09c3cc896efd1fb34b5b
7
+ data.tar.gz: 1ca1dfaff6abf897450b78c177ced086309ae1506e509496432e8a63442758f3fdfa271f359e8316fcbe50e2910b4afcc57aeaa8a5bc2d3f8439007f10652290
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- esignatur (1.2.4)
4
+ esignatur (1.2.5)
5
5
  activesupport (>= 3.0)
6
6
  faraday (>= 0.10)
7
7
 
@@ -21,7 +21,18 @@ module Esignatur
21
21
  Base64.decode64(attributes.fetch('DocumentData'))
22
22
  end
23
23
 
24
+ def title
25
+ fetch unless attributes.key?('Title')
26
+ attributes['Title']
27
+ end
28
+
29
+ def filename
30
+ fetch unless attributes.key?('Filename')
31
+ attributes['Filename']
32
+ end
33
+
24
34
  def document_id
35
+ fetch unless attributes.key?('DocumentId')
25
36
  attributes['DocumentId']
26
37
  end
27
38
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Esignatur
4
- VERSION = '1.2.4'
4
+ VERSION = '1.2.5'
5
5
  end
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.2.4
4
+ version: 1.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Povilas Jurcys
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-01-15 00:00:00.000000000 Z
11
+ date: 2019-01-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday