html2pdf-rails 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/html2pdf/rails/client.rb +1 -1
- data/lib/html2pdf/rails/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 81aa8cae824f6e905835a1c6a4b888c7fbd6be9a921b7f05afc16cabd5e1a97b
|
4
|
+
data.tar.gz: 9bd80fd9c5fa427b9a63d82bfa12341b7de3ad382fecb32b86878c22abc4540d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a73c0aea849dea12e74af2c772d6987429b44b8016fadca7fb6acf6ae407838212cd85c3785b147ec37c1384c16338ad72a20ceb12fddddb6b41073d9e6566d0
|
7
|
+
data.tar.gz: 4029e1d519291d5787d2b95f2b780fdea2d42ed341727c10658182274b068a86bd5ed5522045c1304295dcc69aa1b7582ca7c069032e37320fd948406f3c91a1
|
@@ -13,7 +13,7 @@ module Html2Pdf
|
|
13
13
|
@uri = URI.parse(endpoint)
|
14
14
|
end
|
15
15
|
|
16
|
-
def post(html:, put_to_storage: false, file_name: nil, disposition:
|
16
|
+
def post(html:, put_to_storage: false, file_name: nil, disposition: nil, pdf_options: {})
|
17
17
|
http = Net::HTTP.new(@uri.host, @uri.port).tap { |h| h.use_ssl = @uri.scheme == 'https' }
|
18
18
|
request = Net::HTTP::Post.new(@uri.request_uri, headers)
|
19
19
|
request.body = {
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: html2pdf-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- aki77
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-10-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|