paperform-ruby 2.0.0 → 2.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: 6060b4b81e688eb3c68472179a88537db75e07ff551ee978e015bfc17f3b973b
4
- data.tar.gz: 38fe05801fb68fa25a66e19afabd55ed9930bcc7c47c85bae09410aaf00d6e4d
3
+ metadata.gz: ed7b484d2a2c1d5abd9935d571466e40e8bae4aba725c6c0f8e049bc2475ccb5
4
+ data.tar.gz: 87fd36dc817fdd9c3cc67111aa7ab0487d2d3d3d72210e6d30db013537cf62ff
5
5
  SHA512:
6
- metadata.gz: 6059550d0a533cd613c6411fa20da16191b320c0ae115625a8bd2bf2e3df4955babe426298884d1479c17ec423a352415891355a67d5a9ff7fe84cf1bdede5bb
7
- data.tar.gz: dc9beef02f378f066d90da442849cf8d174c705c6fb3a52224f48e2b41e8f38181f50a61f4ccbfa8ba2cb280e462c73d2e89b34daca1578252d2ee108a5520b4
6
+ metadata.gz: 39627d60e8e55109c25ce5caa31fcb27b927c09a5bf8272fec6a54b9b0318970df62534344e5846f24b799d29936416177aa693270fa2fb023844c820a25391e
7
+ data.tar.gz: 2b0792f0ca80f1b1c9231721c88fa538a4ae33ad93ba105d2a3016b539eb9446818568156f481af4fd3e693985991002d3843f21227b06ea2c3108501fd22743
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- paperform-ruby (2.0.0)
4
+ paperform-ruby (2.0.1)
5
5
  faraday (~> 1.7)
6
6
  faraday_middleware (~> 1.1)
7
7
 
data/README.md CHANGED
@@ -59,7 +59,7 @@ client.form_fields(slug_or_id)
59
59
  ## Partial Submissions
60
60
 
61
61
  ```ruby
62
- client.partial_submissions
62
+ client.partial_submissions(form: form)
63
63
  ```
64
64
  You can also pass in parameters that you need.
65
65
 
@@ -77,18 +77,18 @@ client.partial_submission(slug_or_id)
77
77
  ## Submissions
78
78
 
79
79
  ```ruby
80
- client.submissions
80
+ client.submissions(form: form)
81
81
  ```
82
82
  You can also pass in parameters that you need.
83
83
 
84
84
  ```ruby
85
- client.submissions(limit: 200, skip: 3)
85
+ client.submissions(form: form, limit: 200, skip: 3)
86
86
  ```
87
87
 
88
88
  ## Submission
89
89
 
90
90
  ```ruby
91
- client._submission(slug_or_id)
91
+ client.submission(slug_or_id)
92
92
  ```
93
93
 
94
94
 
@@ -24,8 +24,8 @@ module Paperform
24
24
  end
25
25
 
26
26
  # GET https://paperform.co/developer/api-v1-documentation/#operation/List%20Partial%20Submissions
27
- def partial_submissions(**params)
28
- handle_response connection.get('partial-submissions')
27
+ def partial_submissions(form:, **params)
28
+ handle_response connection.get('partial-submissions', {form: form}.merge(params))
29
29
  end
30
30
 
31
31
 
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = "paperform-ruby"
7
- spec.version = "2.0.0"
7
+ spec.version = "2.0.1"
8
8
  spec.authors = ["Neeraj Kapoor"]
9
9
  spec.email = ["neeraj.kapoor@learntobe.org"]
10
10
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: paperform-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Neeraj Kapoor
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-03-03 00:00:00.000000000 Z
11
+ date: 2022-03-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -107,7 +107,7 @@ homepage: https://github.com/nekapoor/paperform-ruby
107
107
  licenses:
108
108
  - MIT
109
109
  metadata: {}
110
- post_install_message:
110
+ post_install_message:
111
111
  rdoc_options: []
112
112
  require_paths:
113
113
  - lib
@@ -122,8 +122,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
122
122
  - !ruby/object:Gem::Version
123
123
  version: '0'
124
124
  requirements: []
125
- rubygems_version: 3.0.3
126
- signing_key:
125
+ rubygems_version: 3.2.15
126
+ signing_key:
127
127
  specification_version: 4
128
128
  summary: A wrapper around the paperform api.
129
129
  test_files: []