hellosign-ruby-sdk 3.7.5 → 3.7.6
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 +5 -5
 - data/README.md +2 -2
 - data/lib/hello_sign.rb +7 -12
 - data/lib/hello_sign/api.rb +1 -2
 - data/lib/hello_sign/api/account.rb +17 -30
 - data/lib/hello_sign/api/api_app.rb +27 -25
 - data/lib/hello_sign/api/bulk_send_job.rb +62 -0
 - data/lib/hello_sign/api/embedded.rb +17 -23
 - data/lib/hello_sign/api/oauth.rb +26 -34
 - data/lib/hello_sign/api/signature_request.rb +370 -261
 - data/lib/hello_sign/api/team.rb +21 -26
 - data/lib/hello_sign/api/template.rb +79 -70
 - data/lib/hello_sign/api/unclaimed_draft.rb +193 -142
 - data/lib/hello_sign/client.rb +58 -22
 - data/lib/hello_sign/configuration.rb +3 -7
 - data/lib/hello_sign/error.rb +2 -3
 - data/lib/hello_sign/resource.rb +1 -2
 - data/lib/hello_sign/resource/account.rb +3 -6
 - data/lib/hello_sign/resource/api_app.rb +3 -6
 - data/lib/hello_sign/resource/base_resource.rb +5 -9
 - data/lib/hello_sign/resource/bulk_send_job.rb +43 -0
 - data/lib/hello_sign/resource/embedded.rb +7 -10
 - data/lib/hello_sign/resource/resource_array.rb +7 -10
 - data/lib/hello_sign/resource/signature_request.rb +6 -9
 - data/lib/hello_sign/resource/team.rb +3 -6
 - data/lib/hello_sign/resource/template.rb +5 -8
 - data/lib/hello_sign/resource/template_draft.rb +4 -7
 - data/lib/hello_sign/resource/unclaimed_draft.rb +5 -10
 - data/lib/hello_sign/version.rb +1 -3
 - data/spec/fixtures/api_app.json +10 -10
 - data/spec/fixtures/bulk_send_job.json +88 -0
 - data/spec/fixtures/bulk_send_jobs.json +22 -0
 - data/spec/hello_sign/api/account_spec.rb +1 -1
 - data/spec/hello_sign/api/bulk_send_job_spec.rb +53 -0
 - data/spec/hello_sign_spec.rb +2 -4
 - data/spec/spec_helper.rb +0 -2
 - metadata +11 -3
 
    
        data/spec/spec_helper.rb
    CHANGED
    
    | 
         @@ -4,7 +4,6 @@ 
     | 
|
| 
       4 
4 
     | 
    
         
             
            # loaded once.
         
     | 
| 
       5 
5 
     | 
    
         
             
            #
         
     | 
| 
       6 
6 
     | 
    
         | 
| 
       7 
     | 
    
         
            -
            #
         
     | 
| 
       8 
7 
     | 
    
         
             
            # The MIT License (MIT)
         
     | 
| 
       9 
8 
     | 
    
         
             
            #
         
     | 
| 
       10 
9 
     | 
    
         
             
            # Copyright (C) 2014 hellosign.com
         
     | 
| 
         @@ -26,7 +25,6 @@ 
     | 
|
| 
       26 
25 
     | 
    
         
             
            # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
         
     | 
| 
       27 
26 
     | 
    
         
             
            # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
         
     | 
| 
       28 
27 
     | 
    
         
             
            # SOFTWARE.
         
     | 
| 
       29 
     | 
    
         
            -
            #
         
     | 
| 
       30 
28 
     | 
    
         | 
| 
       31 
29 
     | 
    
         
             
            if ENV['TRAVIS']
         
     | 
| 
       32 
30 
     | 
    
         
             
              require 'coveralls'
         
     | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,14 +1,14 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: hellosign-ruby-sdk
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 3.7. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 3.7.6
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - HelloSign
         
     | 
| 
       8 
8 
     | 
    
         
             
            autorequire: 
         
     | 
| 
       9 
9 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       10 
10 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       11 
     | 
    
         
            -
            date: 2018- 
     | 
| 
      
 11 
     | 
    
         
            +
            date: 2018-12-12 00:00:00.000000000 Z
         
     | 
| 
       12 
12 
     | 
    
         
             
            dependencies:
         
     | 
| 
       13 
13 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       14 
14 
     | 
    
         
             
              name: bundler
         
     | 
| 
         @@ -129,6 +129,7 @@ files: 
     | 
|
| 
       129 
129 
     | 
    
         
             
            - lib/hello_sign/api.rb
         
     | 
| 
       130 
130 
     | 
    
         
             
            - lib/hello_sign/api/account.rb
         
     | 
| 
       131 
131 
     | 
    
         
             
            - lib/hello_sign/api/api_app.rb
         
     | 
| 
      
 132 
     | 
    
         
            +
            - lib/hello_sign/api/bulk_send_job.rb
         
     | 
| 
       132 
133 
     | 
    
         
             
            - lib/hello_sign/api/embedded.rb
         
     | 
| 
       133 
134 
     | 
    
         
             
            - lib/hello_sign/api/oauth.rb
         
     | 
| 
       134 
135 
     | 
    
         
             
            - lib/hello_sign/api/signature_request.rb
         
     | 
| 
         @@ -142,6 +143,7 @@ files: 
     | 
|
| 
       142 
143 
     | 
    
         
             
            - lib/hello_sign/resource/account.rb
         
     | 
| 
       143 
144 
     | 
    
         
             
            - lib/hello_sign/resource/api_app.rb
         
     | 
| 
       144 
145 
     | 
    
         
             
            - lib/hello_sign/resource/base_resource.rb
         
     | 
| 
      
 146 
     | 
    
         
            +
            - lib/hello_sign/resource/bulk_send_job.rb
         
     | 
| 
       145 
147 
     | 
    
         
             
            - lib/hello_sign/resource/embedded.rb
         
     | 
| 
       146 
148 
     | 
    
         
             
            - lib/hello_sign/resource/resource_array.rb
         
     | 
| 
       147 
149 
     | 
    
         
             
            - lib/hello_sign/resource/signature_request.rb
         
     | 
| 
         @@ -154,6 +156,8 @@ files: 
     | 
|
| 
       154 
156 
     | 
    
         
             
            - spec/fixtures/account.json
         
     | 
| 
       155 
157 
     | 
    
         
             
            - spec/fixtures/api_app.json
         
     | 
| 
       156 
158 
     | 
    
         
             
            - spec/fixtures/api_apps.json
         
     | 
| 
      
 159 
     | 
    
         
            +
            - spec/fixtures/bulk_send_job.json
         
     | 
| 
      
 160 
     | 
    
         
            +
            - spec/fixtures/bulk_send_jobs.json
         
     | 
| 
       157 
161 
     | 
    
         
             
            - spec/fixtures/embedded.json
         
     | 
| 
       158 
162 
     | 
    
         
             
            - spec/fixtures/empty.pdf
         
     | 
| 
       159 
163 
     | 
    
         
             
            - spec/fixtures/error.json
         
     | 
| 
         @@ -170,6 +174,7 @@ files: 
     | 
|
| 
       170 
174 
     | 
    
         
             
            - spec/hello_sign/.error_spec.rb.swp
         
     | 
| 
       171 
175 
     | 
    
         
             
            - spec/hello_sign/api/account_spec.rb
         
     | 
| 
       172 
176 
     | 
    
         
             
            - spec/hello_sign/api/api_app_spec.rb
         
     | 
| 
      
 177 
     | 
    
         
            +
            - spec/hello_sign/api/bulk_send_job_spec.rb
         
     | 
| 
       173 
178 
     | 
    
         
             
            - spec/hello_sign/api/embedded_spec.rb
         
     | 
| 
       174 
179 
     | 
    
         
             
            - spec/hello_sign/api/oauth_spec.rb
         
     | 
| 
       175 
180 
     | 
    
         
             
            - spec/hello_sign/api/signature_request_spec.rb
         
     | 
| 
         @@ -202,7 +207,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement 
     | 
|
| 
       202 
207 
     | 
    
         
             
                  version: '0'
         
     | 
| 
       203 
208 
     | 
    
         
             
            requirements: []
         
     | 
| 
       204 
209 
     | 
    
         
             
            rubyforge_project: 
         
     | 
| 
       205 
     | 
    
         
            -
            rubygems_version: 2. 
     | 
| 
      
 210 
     | 
    
         
            +
            rubygems_version: 2.7.8
         
     | 
| 
       206 
211 
     | 
    
         
             
            signing_key: 
         
     | 
| 
       207 
212 
     | 
    
         
             
            specification_version: 4
         
     | 
| 
       208 
213 
     | 
    
         
             
            summary: A Ruby SDK for the HelloSign API.
         
     | 
| 
         @@ -210,6 +215,8 @@ test_files: 
     | 
|
| 
       210 
215 
     | 
    
         
             
            - spec/fixtures/account.json
         
     | 
| 
       211 
216 
     | 
    
         
             
            - spec/fixtures/api_app.json
         
     | 
| 
       212 
217 
     | 
    
         
             
            - spec/fixtures/api_apps.json
         
     | 
| 
      
 218 
     | 
    
         
            +
            - spec/fixtures/bulk_send_job.json
         
     | 
| 
      
 219 
     | 
    
         
            +
            - spec/fixtures/bulk_send_jobs.json
         
     | 
| 
       213 
220 
     | 
    
         
             
            - spec/fixtures/embedded.json
         
     | 
| 
       214 
221 
     | 
    
         
             
            - spec/fixtures/empty.pdf
         
     | 
| 
       215 
222 
     | 
    
         
             
            - spec/fixtures/error.json
         
     | 
| 
         @@ -226,6 +233,7 @@ test_files: 
     | 
|
| 
       226 
233 
     | 
    
         
             
            - spec/hello_sign/.error_spec.rb.swp
         
     | 
| 
       227 
234 
     | 
    
         
             
            - spec/hello_sign/api/account_spec.rb
         
     | 
| 
       228 
235 
     | 
    
         
             
            - spec/hello_sign/api/api_app_spec.rb
         
     | 
| 
      
 236 
     | 
    
         
            +
            - spec/hello_sign/api/bulk_send_job_spec.rb
         
     | 
| 
       229 
237 
     | 
    
         
             
            - spec/hello_sign/api/embedded_spec.rb
         
     | 
| 
       230 
238 
     | 
    
         
             
            - spec/hello_sign/api/oauth_spec.rb
         
     | 
| 
       231 
239 
     | 
    
         
             
            - spec/hello_sign/api/signature_request_spec.rb
         
     |