pdfactory-client 0.2 → 0.2.1
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/lib/pdfactory/client/version.rb +1 -1
- data/lib/pdfactory/client.rb +1 -0
- metadata +3 -8
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a4553d665a919af1683b0ea99de3f739a70729c4033a8c63e573b8680118686a
|
|
4
|
+
data.tar.gz: 28ae9b3e40bdd9f0ee545f42ca9908974383bd54a66101d1628a49f29d914540
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ea0a3a85e772126b143b5c1c21955cbf7d4fa1db2fa9c6a1cb90d9d1ef05711aee9bf55f3c7d996a43c77b67598efe05747c57f83a0a65036dc5e491a382f133
|
|
7
|
+
data.tar.gz: 10cd43c6c80d5d5d090c962640274f735b984cfb5634643e936c1d4f1cf8ff3c7e0e796f00ec44f0adfbf661ace62a0fbcf48b84e0f5a47cf9f53f5ce45a3be1
|
data/lib/pdfactory/client.rb
CHANGED
|
@@ -39,6 +39,7 @@ module PDFactory
|
|
|
39
39
|
def call_api(endpoint, body, http_method = :post)
|
|
40
40
|
response = connection.send(http_method) do |response|
|
|
41
41
|
response.url(endpoint)
|
|
42
|
+
response.headers['Content-Type'] = 'application/x-www-form-urlencoded'
|
|
42
43
|
response.body = URI.encode_www_form(body)
|
|
43
44
|
end
|
|
44
45
|
|
metadata
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pdfactory-client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 0.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Daniel Cruz Horts
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: exe
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
12
11
|
dependencies:
|
|
13
12
|
- !ruby/object:Gem::Dependency
|
|
14
13
|
name: faraday
|
|
@@ -136,8 +135,6 @@ dependencies:
|
|
|
136
135
|
- - ">="
|
|
137
136
|
- !ruby/object:Gem::Version
|
|
138
137
|
version: '0'
|
|
139
|
-
description:
|
|
140
|
-
email:
|
|
141
138
|
executables: []
|
|
142
139
|
extensions: []
|
|
143
140
|
extra_rdoc_files: []
|
|
@@ -158,7 +155,6 @@ homepage: https://github.com/dncrht/pdfactory-client
|
|
|
158
155
|
licenses:
|
|
159
156
|
- MIT
|
|
160
157
|
metadata: {}
|
|
161
|
-
post_install_message:
|
|
162
158
|
rdoc_options: []
|
|
163
159
|
require_paths:
|
|
164
160
|
- lib
|
|
@@ -173,8 +169,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
173
169
|
- !ruby/object:Gem::Version
|
|
174
170
|
version: '0'
|
|
175
171
|
requirements: []
|
|
176
|
-
rubygems_version:
|
|
177
|
-
signing_key:
|
|
172
|
+
rubygems_version: 4.0.17
|
|
178
173
|
specification_version: 4
|
|
179
174
|
summary: Ruby client for PDFactory.
|
|
180
175
|
test_files: []
|