salesfly 1.0.0 → 1.0.1

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: 8de9581fc1e64d2bdd0424cda60793d44f6fff839d11b4b82563c1072d0b612a
4
- data.tar.gz: f691da87f7fcc49a34b00bc33797b7c804ef63e1e8ad12f908b255935fecc4e3
3
+ metadata.gz: 5761a741a383a216469e0fedd481f5d45219c977a88986e271feb35feeb858d5
4
+ data.tar.gz: b3f3c0717f1a59588faaa0dd33ff0736043652fb42b279bb4b2e42a0359115ec
5
5
  SHA512:
6
- metadata.gz: bfc17e4d6164e7db85107836d612d4866a58e655b1ae53da2e0c73986aac18bd86bbdce889655b857a212079ec4407f8833d823d083eb46d7d6b8665fc55e97f
7
- data.tar.gz: e0c7f42c5d656a273f4773601630dea23d65795eef468769b94e1bbdb6f056186f132c60d251a47d743735e318c99194efe08438f9ee1fb3cb32239ec85f45f1
6
+ metadata.gz: f5632e8caef68952efb610891ca810437e7d00494690bbe8cd6b4ea849073f71bc153d60337f883898a05ea02adc69030ca91f0511f366adc131df4211346d28
7
+ data.tar.gz: 501cdc3abb764e235e52599fd1895841e06161b4916bd8ebf299aa162a5ebc6321fedfd4d714af508798b99e9384acd77c71fddddfb6f6e50cf968813815d2c1
@@ -9,7 +9,7 @@ module Salesfly
9
9
  headers = {
10
10
  "Accept" => "application/pdf"
11
11
  }
12
- return @rest_client.post("/v1/pdf/create", options, headers)
12
+ return @rest_client.post("/v1/pdf/create", options.to_json, headers)
13
13
  end
14
14
 
15
15
  end
@@ -1,3 +1,3 @@
1
1
  module Salesfly
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
@@ -26,7 +26,7 @@ module SalesflyTest
26
26
  def test_create_pdf
27
27
  options = {
28
28
  "document_url" => "https://example.com"
29
- }.to_json
29
+ }
30
30
  buffer = client.pdf.create(options)
31
31
  assert buffer != nil
32
32
  File.open("/tmp/test-ruby.pdf", "w") do |file|
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: salesfly
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Salesfly
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-05-16 00:00:00.000000000 Z
11
+ date: 2020-05-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client