pandadoc-api 0.2.1 → 0.2.2
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/README.md +2 -2
- data/lib/pandadoc/api/document.rb +2 -1
- data/lib/pandadoc/api/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 423b9a114384ee12652efd338253f3ece39386fcfa5f9feb40280830ce5fffe7
|
|
4
|
+
data.tar.gz: 3a3eba36dd72c57bf7a4b758026bc68f24f7a2ffc80e1be6c2b1d5f8e7beaf74
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ff39b7e3a74acbdd896394008db0063e6ddf3c66da4099b17b8c1ff9102b76626ceab1e423c7835407f1c41a383bdcbd651722ffaba3e7df899eba69ae3dbd22
|
|
7
|
+
data.tar.gz: e397552a39650f2fcf1c2e902ed2aea5ef9ea01ea273d205a7ad38471b88f227149e5d2938e8de4eb12e05455815695c059cad0a83add5236c51d03a43104871
|
data/README.md
CHANGED
|
@@ -44,7 +44,7 @@ document_api.status(token, document_id) # returns JSON
|
|
|
44
44
|
document_api.details(token, document_id) # returns JSON
|
|
45
45
|
|
|
46
46
|
# Delete a document
|
|
47
|
-
document_api.delete(token, document_id)
|
|
47
|
+
document_api.delete(token, document_id) # returns JSON
|
|
48
48
|
|
|
49
49
|
# Send Document
|
|
50
50
|
document_api.send_doc(token, document_id, params = {}) # returns JSON
|
|
@@ -68,7 +68,7 @@ Call the API
|
|
|
68
68
|
template_api.list(token, params = {}) # returns JSON
|
|
69
69
|
|
|
70
70
|
# Template Details
|
|
71
|
-
|
|
71
|
+
template_api.details(token, template_id) # returns JSON
|
|
72
72
|
```
|
|
73
73
|
|
|
74
74
|
## Development
|
|
@@ -35,7 +35,8 @@ module Pandadoc
|
|
|
35
35
|
tokens: { required: false, type: Array },
|
|
36
36
|
fields: { required: false, type: Hash },
|
|
37
37
|
metadata: { required: false, type: Hash },
|
|
38
|
-
pricing_tables: { required: false, type: Array }
|
|
38
|
+
pricing_tables: { required: false, type: Array },
|
|
39
|
+
tags: { required: false, type: Array }
|
|
39
40
|
}
|
|
40
41
|
|
|
41
42
|
client.post_json '/documents', token, validated_params(params, validations)
|
data/lib/pandadoc/api/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pandadoc-api
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Michael Carey
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: exe
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date:
|
|
12
|
+
date: 2019-04-17 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: httparty
|
|
@@ -153,8 +153,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
153
153
|
- !ruby/object:Gem::Version
|
|
154
154
|
version: '0'
|
|
155
155
|
requirements: []
|
|
156
|
-
|
|
157
|
-
rubygems_version: 2.7.8
|
|
156
|
+
rubygems_version: 3.0.1
|
|
158
157
|
signing_key:
|
|
159
158
|
specification_version: 4
|
|
160
159
|
summary: Ruby API Wrapper for the PandaDoc API
|