paperform-ruby 2.0.0 → 2.0.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/Gemfile.lock +1 -1
 - data/README.md +4 -4
 - data/lib/paperform/client.rb +2 -2
 - data/paperform-ruby.gemspec +1 -1
 - metadata +6 -6
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA256:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: ed7b484d2a2c1d5abd9935d571466e40e8bae4aba725c6c0f8e049bc2475ccb5
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 87fd36dc817fdd9c3cc67111aa7ab0487d2d3d3d72210e6d30db013537cf62ff
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 39627d60e8e55109c25ce5caa31fcb27b927c09a5bf8272fec6a54b9b0318970df62534344e5846f24b799d29936416177aa693270fa2fb023844c820a25391e
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 2b0792f0ca80f1b1c9231721c88fa538a4ae33ad93ba105d2a3016b539eb9446818568156f481af4fd3e693985991002d3843f21227b06ea2c3108501fd22743
         
     | 
    
        data/Gemfile.lock
    CHANGED
    
    
    
        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. 
     | 
| 
      
 91 
     | 
    
         
            +
            client.submission(slug_or_id)
         
     | 
| 
       92 
92 
     | 
    
         
             
            ```
         
     | 
| 
       93 
93 
     | 
    
         | 
| 
       94 
94 
     | 
    
         | 
    
        data/lib/paperform/client.rb
    CHANGED
    
    | 
         @@ -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 
     | 
    
         | 
    
        data/paperform-ruby.gemspec
    CHANGED
    
    
    
        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. 
     | 
| 
      
 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- 
     | 
| 
      
 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. 
     | 
| 
       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: []
         
     |