hellosign-ruby-sdk 3.1.0 → 3.2.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9eaa58b2e89525020a5680a6bf6eec365b10dc92
4
- data.tar.gz: 925c4320a41f696ca1f9cdb72ba7755c4c6e7386
3
+ metadata.gz: 89eec89ae4b017951803a46a453d361df0f189f9
4
+ data.tar.gz: 42724e068d0453de5d7dc7134a8bac16d7583894
5
5
  SHA512:
6
- metadata.gz: fef29d6b444650087026074d2ab7bc9b24538917d4060dc0d7e8cd9e92df50e6f86c34a789e8a8f728c2a53f55a2c4793ba2afb8ebfe6ce6a4d03eaddde77d8f
7
- data.tar.gz: 99cdacd9aa442dedd4bc02275b63b85910fa5ecdc7a1d0d7f75a4a71ec7d3372f80f69a8ddfffd91033a52e81cda22e9fa26deba7c86e6faf3ea0afb2fc28f0d
6
+ metadata.gz: a8fedacf35e41f2bcb43f8d2a42effa92ed9ca55e9fe23dd5e122ad5b33b4839ec51648def64465d62cb32c8b34c4abb7cc07464b742e43838651ce1ba1a8561
7
+ data.tar.gz: f4eaceb5c880f4525caa584e020d74cd202127160d1f9d85714a7617ea86822063a7aff88ad58dfa5ac116a56f6d3617c10abe4922fa75bebd3ae0355855dfbe
@@ -1,8 +1,8 @@
1
1
  #
2
2
  # The MIT License (MIT)
3
- #
3
+ #
4
4
  # Copyright (C) 2014 hellosign.com
5
- #
5
+ #
6
6
  # Permission is hereby granted, free of charge, to any person obtaining a copy
7
7
  # of this software and associated documentation files (the "Software"), to deal
8
8
  # in the Software without restriction, including without limitation the rights
@@ -29,3 +29,4 @@ require 'hello_sign/api/signature_request'
29
29
  require 'hello_sign/api/team'
30
30
  require 'hello_sign/api/unclaimed_draft'
31
31
  require 'hello_sign/api/oauth'
32
+ require 'hello_sign/api/api_app'
@@ -0,0 +1,114 @@
1
+ #
2
+ # The MIT License (MIT)
3
+ #
4
+ # Copyright (C) 2014 hellosign.com
5
+ #
6
+ # Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ # of this software and associated documentation files (the "Software"), to deal
8
+ # in the Software without restriction, including without limitation the rights
9
+ # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ # copies of the Software, and to permit persons to whom the Software is
11
+ # furnished to do so, subject to the following conditions:
12
+ #
13
+ # The above copyright notice and this permission notice shall be included in all
14
+ # copies or substantial portions of the Software.
15
+ #
16
+ # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
+ # SOFTWARE.
23
+ #
24
+
25
+ module HelloSign
26
+ module Api
27
+
28
+ #
29
+ # Contains all the api calls for the ApiApp resource.
30
+ # Take a look at our {https://www.hellosign.com/api/reference#Team team api document}
31
+ # for more information about this.
32
+ #
33
+ # @author [hellosign]
34
+ #
35
+ module ApiApp
36
+
37
+ #
38
+ # Retrieves information about a specific API App by a given ID
39
+ #
40
+ # @return [HelloSign::Resource::ApiApp] the API App
41
+ #
42
+ # @example
43
+ # app = @client.get_api_app :client_id => 'fa5c8a0b0f492d768749333ad6fcc214c111e967'
44
+ #
45
+ def get_api_app(opts)
46
+ HelloSign::Resource::ApiApp.new get("/api_app/#{opts[:client_id]}")
47
+ end
48
+
49
+ #
50
+ # Returns a list of ApiApps that you currently have access to on your account
51
+ # @option opts [Integer] page (1) Which page number of the list to return.
52
+ # @option opts [Integer] page_size (5) Number of results for each page
53
+ #
54
+ # @return [HelloSign::Resource::ResourceArray]
55
+ #
56
+ # @example
57
+ # apps = @client.get_api_apps :page => 1
58
+ #
59
+ def get_api_apps(opts={})
60
+ path = '/api_app/list'
61
+ path += opts[:page] ? "?page=#{opts[:page]}" : ''
62
+ path += opts[:page_size] ? "&page_size=#{opts[:page_size]}" : ''
63
+ HelloSign::Resource::ResourceArray.new get(path, opts), 'api_apps', HelloSign::Resource::ApiApp
64
+ end
65
+
66
+ #
67
+ # Creates a new API Application on your account
68
+ # @option opts [String] name The name you want to assign to the ApiApp.
69
+ # @option opts [String] domain The domain name the ApiApp will be associated with.
70
+ # @option opts [String] callback_url (optional) The URL at which the ApiApp should receive event callbacks.
71
+ # @option opts [String] custom_logo_file (optional) An image file to use as a custom logo in embedded contexts. (Only applies to some API plans)
72
+ # @option opts [String] oauth[callback_url] (optional) The callback URL to be used for OAuth flows. (Required if oauth[scopes] is provided)
73
+ # @option opts [String] oauth[scopes] (optional) A comma-separated list of OAuth scopes to be granted to the app. (Required if oauth[callback_url] is provided)
74
+ #
75
+ # @return [HelloSign::Resource::ApiApp] newly created ApiApp object
76
+ #
77
+ # @example
78
+ # app = @client.create_api_app :name => 'My Production App', :domain => 'example.com', :'oauth[callback_url]' => 'https://example.com/oauth', 'oauth[scopes]' => 'basic_account_info,request_signature'
79
+ def create_api_app(opts)
80
+ HelloSign::Resource::ApiApp.new post('/api_app', :body => opts)
81
+ end
82
+
83
+ #
84
+ # Updates parameters for a specific API Application on your account, referenced by ID
85
+ # @oprion opts [String] client_id (REQUIRED) The ID of the app you want to update
86
+ # @option opts [String] name (optional) The name you want to assign to the ApiApp.
87
+ # @option opts [String] domain (optional) The domain name the ApiApp will be associated with.
88
+ # @option opts [String] callback_url (optional) The URL at which the ApiApp should receive event callbacks.
89
+ # @option opts [String] custom_logo_file (optional) An image file to use as a custom logo in embedded contexts. (Only applies to some API plans)
90
+ # @option opts [String] oauth[callback_url] (optional) The callback URL to be used for OAuth flows. (Required if oauth[scopes] is provided)
91
+ # @option opts [String] oauth[scopes] (optional) A comma-separated list of OAuth scopes to be granted to the app. (Required if oauth[callback_url] is provided)
92
+ #
93
+ # @return [HelloSign::Resource::ApiApp] an ApiApp object
94
+ #
95
+ # @example
96
+ # app = @client.update_api_app :name => 'My Newly Renamed App', :domain => 'example2.com', :'oauth[callback_url]' => 'https://example2.com/oauth', 'oauth[scopes]' => 'basic_account_info,request_signature'
97
+ def update_api_app(opts)
98
+ id = opts.delete(:client_id)
99
+ path = '/api_app/' + id
100
+ HelloSign::Resource::ApiApp.new put(path, :body => opts)
101
+ end
102
+
103
+ #
104
+ # Deletes an API App. Can only be invoked for apps you own.
105
+ #
106
+ # @example
107
+ # result = @client.delete_api_app :client_id => 'hdialuhfilaudshfa'
108
+ def delete_api_app(opts)
109
+ path = '/api_app/' + opts[:client_id]
110
+ delete(path)
111
+ end
112
+ end
113
+ end
114
+ end
@@ -49,6 +49,7 @@ module HelloSign
49
49
  include Api::UnclaimedDraft
50
50
  include Api::Embedded
51
51
  include Api::OAuth
52
+ include Api::ApiApp
52
53
 
53
54
  attr_accessor :end_point, :oauth_end_point, :api_version, :user_agent, :client_id, :client_secret, :email_address, :password, :api_key, :auth_token, :logging, :log_level
54
55
 
@@ -1,8 +1,8 @@
1
1
  #
2
2
  # The MIT License (MIT)
3
- #
3
+ #
4
4
  # Copyright (C) 2014 hellosign.com
5
- #
5
+ #
6
6
  # Permission is hereby granted, free of charge, to any person obtaining a copy
7
7
  # of this software and associated documentation files (the "Software"), to deal
8
8
  # in the Software without restriction, including without limitation the rights
@@ -31,3 +31,4 @@ require 'hello_sign/resource/template'
31
31
  require 'hello_sign/resource/signature_request'
32
32
  require 'hello_sign/resource/team'
33
33
  require 'hello_sign/resource/unclaimed_draft'
34
+ require 'hello_sign/resource/api_app'
@@ -0,0 +1,48 @@
1
+ #
2
+ # The MIT License (MIT)
3
+ #
4
+ # Copyright (C) 2015 hellosign.com
5
+ #
6
+ # Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ # of this software and associated documentation files (the "Software"), to deal
8
+ # in the Software without restriction, including without limitation the rights
9
+ # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ # copies of the Software, and to permit persons to whom the Software is
11
+ # furnished to do so, subject to the following conditions:
12
+ #
13
+ # The above copyright notice and this permission notice shall be included in all
14
+ # copies or substantial portions of the Software.
15
+ #
16
+ # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
+ # SOFTWARE.
23
+ #
24
+
25
+ module HelloSign
26
+ module Resource
27
+
28
+ #
29
+ # Contains information about an team and its members.
30
+ # Take a look at our {https://www.hellosign.com/api/reference#ApiApp API Application resource document}
31
+ # for more information about this.
32
+ #
33
+ # @author [hellosign]
34
+ #
35
+ class ApiApp < BaseResource
36
+
37
+ #
38
+ # create a new ApiApp from a hash. If a key is defined then team data with be the value of hash[key], otherwise the hash itself
39
+ # @param hash [Hash] API Application data
40
+ # @param key [String] (api_app) key of the hash, point to where API application data is. If nil then the hash itself
41
+ #
42
+ # @return [HelloSign::Resource:ApiApp] an ApiApp resource
43
+ def initialize(hash, key='api_app')
44
+ super
45
+ end
46
+ end
47
+ end
48
+ end
@@ -23,5 +23,5 @@
23
23
  #
24
24
 
25
25
  module HelloSign
26
- VERSION = '3.1.0'
26
+ VERSION = '3.2.0'
27
27
  end
@@ -0,0 +1,16 @@
1
+ {
2
+
3
+ "api_app": {
4
+ "client_id" : "5e365c014bea2e9a05a9d0834f3e7ca4",
5
+ "created_at" : 1438030211,
6
+ "name" : "Hodor",
7
+ "domain" : "hodor.com",
8
+ "callback_url" : null,
9
+ "owner_account" : {
10
+ "account_id" : "626e28a7781d6d12bd830220488a45e9ef3378ab",
11
+ "email_address" : "hello@example.com"
12
+ },
13
+ "is_approved" : false,
14
+ "oauth" : null
15
+ }
16
+ }
@@ -0,0 +1,43 @@
1
+ {
2
+ "api_apps": [
3
+ {
4
+ "callback_url": null,
5
+ "client_id": "0dd3b823a682527788c4e40cb7b6f7e9",
6
+ "created_at": 1436232339,
7
+ "domain": "example.com",
8
+ "is_approved": true,
9
+ "name": "My Production App",
10
+ "oauth": {
11
+ "callback_url": "http://example.com/oauth",
12
+ "scopes": [
13
+ "basic_account_info",
14
+ "request_signature"
15
+ ],
16
+ "secret": "98891a1b59f312d04cd88e4e0c498d75"
17
+ },
18
+ "owner_account": {
19
+ "account_id": "dc5deeb9e10b044c591ef2475aafad1d1d3bd888",
20
+ "email_address": "john@example.com"
21
+ }
22
+ },
23
+ {
24
+ "callback_url": null,
25
+ "client_id": "bff6d867fafcca27554cf89b1ca98793",
26
+ "created_at": 1433458421,
27
+ "domain": "example.com",
28
+ "is_approved": false,
29
+ "name": "My Other App",
30
+ "oauth": null,
31
+ "owner_account": {
32
+ "account_id": "dc5deeb9e10b044c591ef2475aafad1d1d3bd888",
33
+ "email_address": "john@example.com"
34
+ }
35
+ }
36
+ ],
37
+ "list_info": {
38
+ "num_pages": 1,
39
+ "num_results": 2,
40
+ "page": 1,
41
+ "page_size": 20
42
+ }
43
+ }
@@ -0,0 +1,87 @@
1
+ require 'spec_helper'
2
+
3
+ describe HelloSign::Api::ApiApp do
4
+
5
+ describe '#get_api_app' do
6
+ before do
7
+ stub_get('/api_app/5e365c014bea2e9a05a9d0834f3e7ca4', 'api_app')
8
+ @api_app = HelloSign.get_api_app :client_id => '5e365c014bea2e9a05a9d0834f3e7ca4'
9
+ end
10
+
11
+ it 'should get the correct resource' do
12
+ expect(a_get('/api_app/5e365c014bea2e9a05a9d0834f3e7ca4')).to have_been_made
13
+ end
14
+
15
+ it 'should return current user account' do
16
+ expect(@api_app).to be_an HelloSign::Resource::ApiApp
17
+ end
18
+ end
19
+
20
+ describe '#list_api_apps' do
21
+ before do
22
+ stub_get('/api_app/list', 'api_apps')
23
+ @api_apps = HelloSign.get_api_apps({})
24
+ end
25
+
26
+ it 'should get the correct resource' do
27
+ expect(a_get('/api_app/list')).to have_been_made
28
+ end
29
+
30
+ it 'should return a Resource Array' do
31
+ expect(@api_apps).to be_an HelloSign::Resource::ResourceArray
32
+ end
33
+
34
+ it 'each of Array is an ApiApp' do
35
+ expect(@api_apps[0]).to be_an HelloSign::Resource::ApiApp
36
+ end
37
+ end
38
+
39
+ describe '#create_api_app' do
40
+ before do
41
+ stub_post('/api_app', 'api_app')
42
+ @api_app = HelloSign.create_api_app(
43
+ :name => 'Herbert App',
44
+ :domain => 'herbert.com'
45
+ )
46
+ end
47
+
48
+ it 'should get the correct resource' do
49
+ expect(a_post('/api_app')).to have_been_made
50
+ end
51
+
52
+ it 'should return an ApiApp' do
53
+ expect(@api_app).to be_an HelloSign::Resource::ApiApp
54
+ end
55
+ end
56
+
57
+ describe '#update_api_app' do
58
+ before do
59
+ stub_put('/api_app/5e365c014bea2e9a05a9d0834f3e7ca4', 'api_app')
60
+ @api_app = HelloSign.update_api_app(
61
+ :client_id => '5e365c014bea2e9a05a9d0834f3e7ca4',
62
+ :name => 'Herbert App',
63
+ :domain => 'herbert.com'
64
+ )
65
+ end
66
+
67
+ it 'should get the correct resource' do
68
+ expect(a_put('/api_app/5e365c014bea2e9a05a9d0834f3e7ca4')).to have_been_made
69
+ end
70
+
71
+ it 'should return an ApiApp' do
72
+ expect(@api_app).to be_an HelloSign::Resource::ApiApp
73
+ end
74
+ end
75
+
76
+ describe '#delete_api_app' do
77
+ before do
78
+ stub_delete('/api_app/1', 'api_app')
79
+ @api_app = HelloSign.delete_api_app(:client_id => '1')
80
+ end
81
+
82
+ it 'should get the correct resource' do
83
+ expect(a_delete('/api_app/1')).to have_been_made
84
+ end
85
+ end
86
+
87
+ end
metadata CHANGED
@@ -1,111 +1,111 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hellosign-ruby-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.0
4
+ version: 3.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - HelloSign
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-21 00:00:00.000000000 Z
11
+ date: 2015-07-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ~>
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.5'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ~>
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.5'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
31
+ - - '>='
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ">="
38
+ - - '>='
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rspec
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ">="
45
+ - - '>='
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ">="
52
+ - - '>='
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: webmock
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ">="
59
+ - - '>='
60
60
  - !ruby/object:Gem::Version
61
61
  version: '0'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ">="
66
+ - - '>='
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: faraday
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ">="
73
+ - - '>='
74
74
  - !ruby/object:Gem::Version
75
75
  version: '0'
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ">="
80
+ - - '>='
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: multi_json
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - ">="
87
+ - - '>='
88
88
  - !ruby/object:Gem::Version
89
89
  version: '0'
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - ">="
94
+ - - '>='
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: mime-types
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - ">="
101
+ - - '>='
102
102
  - !ruby/object:Gem::Version
103
103
  version: '0'
104
104
  type: :runtime
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - ">="
108
+ - - '>='
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
111
  description: ''
@@ -114,9 +114,9 @@ executables: []
114
114
  extensions: []
115
115
  extra_rdoc_files: []
116
116
  files:
117
- - ".gitignore"
118
- - ".rspec"
119
- - ".travis.yml"
117
+ - .gitignore
118
+ - .rspec
119
+ - .travis.yml
120
120
  - CONTRIBUTING.md
121
121
  - Gemfile
122
122
  - Guardfile
@@ -127,6 +127,7 @@ files:
127
127
  - lib/hello_sign.rb
128
128
  - lib/hello_sign/api.rb
129
129
  - lib/hello_sign/api/account.rb
130
+ - lib/hello_sign/api/api_app.rb
130
131
  - lib/hello_sign/api/embedded.rb
131
132
  - lib/hello_sign/api/oauth.rb
132
133
  - lib/hello_sign/api/signature_request.rb
@@ -138,6 +139,7 @@ files:
138
139
  - lib/hello_sign/error.rb
139
140
  - lib/hello_sign/resource.rb
140
141
  - lib/hello_sign/resource/account.rb
142
+ - lib/hello_sign/resource/api_app.rb
141
143
  - lib/hello_sign/resource/base_resource.rb
142
144
  - lib/hello_sign/resource/embedded.rb
143
145
  - lib/hello_sign/resource/resource_array.rb
@@ -148,6 +150,8 @@ files:
148
150
  - lib/hello_sign/resource/unclaimed_draft.rb
149
151
  - lib/hello_sign/version.rb
150
152
  - spec/fixtures/account.json
153
+ - spec/fixtures/api_app.json
154
+ - spec/fixtures/api_apps.json
151
155
  - spec/fixtures/embedded.json
152
156
  - spec/fixtures/empty.pdf
153
157
  - spec/fixtures/error.json
@@ -161,6 +165,7 @@ files:
161
165
  - spec/fixtures/token.json
162
166
  - spec/fixtures/unclaimed_draft.json
163
167
  - spec/hello_sign/api/account_spec.rb
168
+ - spec/hello_sign/api/api_app_spec.rb
164
169
  - spec/hello_sign/api/embedded_spec.rb
165
170
  - spec/hello_sign/api/oauth_spec.rb
166
171
  - spec/hello_sign/api/signature_request_spec.rb
@@ -182,22 +187,24 @@ require_paths:
182
187
  - lib
183
188
  required_ruby_version: !ruby/object:Gem::Requirement
184
189
  requirements:
185
- - - ">="
190
+ - - '>='
186
191
  - !ruby/object:Gem::Version
187
192
  version: '0'
188
193
  required_rubygems_version: !ruby/object:Gem::Requirement
189
194
  requirements:
190
- - - ">="
195
+ - - '>='
191
196
  - !ruby/object:Gem::Version
192
197
  version: '0'
193
198
  requirements: []
194
199
  rubyforge_project:
195
- rubygems_version: 2.2.0
200
+ rubygems_version: 2.0.14
196
201
  signing_key:
197
202
  specification_version: 4
198
203
  summary: A Ruby SDK for the HelloSign API.
199
204
  test_files:
200
205
  - spec/fixtures/account.json
206
+ - spec/fixtures/api_app.json
207
+ - spec/fixtures/api_apps.json
201
208
  - spec/fixtures/embedded.json
202
209
  - spec/fixtures/empty.pdf
203
210
  - spec/fixtures/error.json
@@ -211,6 +218,7 @@ test_files:
211
218
  - spec/fixtures/token.json
212
219
  - spec/fixtures/unclaimed_draft.json
213
220
  - spec/hello_sign/api/account_spec.rb
221
+ - spec/hello_sign/api/api_app_spec.rb
214
222
  - spec/hello_sign/api/embedded_spec.rb
215
223
  - spec/hello_sign/api/oauth_spec.rb
216
224
  - spec/hello_sign/api/signature_request_spec.rb