hellosign-ruby-sdk 3.0.7 → 3.0.9

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
  SHA1:
3
- metadata.gz: ecfed3e4a83b10a65f1bca1c8346044a328d77ce
4
- data.tar.gz: 0ae39d6000ac584d524088f8915bd4eae93da2ba
3
+ metadata.gz: 9d25f5b018fddb236b999be3180ac75d09f8ac88
4
+ data.tar.gz: d999948d08a67e479010c86df94981e4d202179c
5
5
  SHA512:
6
- metadata.gz: bd08801fbdaac60afccf23bf1258f435d67260ab519e3bf388420e5c1aa780ea2e1ca4a68ee32a1d2e841a737e5e61ee8290bfe9446adc84e51311df86de2257
7
- data.tar.gz: 673d05df84d356422d3162465e335084d41ecdab41161b636ca0da4732ecbcd0d9bebe2d09174c6c5671d90620cad8a45449dbf28df2728a2c5490418902f462
6
+ metadata.gz: b201a69a221b32e13f5d0c6874a885fb5ab1d84fc396f0a059704249cd4945976127994625172fef21f5781f653c79a1aca62615a326712a84b5fbff720e5375
7
+ data.tar.gz: 6ae74ea3cd74e11da0346f8c4373181120dac9317221eb51f9257b50d96d0eaed8e3619f31155a26f989e677c95ab4be9eb9f8ede74d4fc960818d6b5f75954f
data/README.md CHANGED
@@ -26,8 +26,8 @@ HelloSign.configure do |config|
26
26
  # If api_key, email_address and password are all present, api_key will be used
27
27
  # config.email_address = 'email_address'
28
28
  # config.password = 'password'
29
- config.client_id = 'your_cliend_id' #required only when you want to use embedded or OAuth
30
- config.client_secret = 'your_cliend_secret' #required only when you want to use OAuth
29
+ config.client_id = 'your_client_id' #required only when you want to use embedded or OAuth
30
+ config.client_secret = 'your_client_secret' #required only when you want to use OAuth
31
31
  end
32
32
  ```
33
33
 
@@ -55,3 +55,8 @@ user_account = client2.get_account
55
55
 
56
56
  Testing relies on built in hard-coded fixtures. You can run the tests without affecting your actual account data. To do so
57
57
  from the root of your project run <code>rake spec</code>.
58
+
59
+ ## Additional notes
60
+
61
+ ### Local callbacks
62
+ We do not allow app callbacks (event or OAuth) to be set to localhost. However it is still possible to test callbacks against a local server. Tunneling services such as ngrok (http://ngrok.com) can help you set this up.
data/lib/hello_sign.rb CHANGED
@@ -20,7 +20,7 @@ module HelloSign
20
20
  # If HelloSign module don't respond_to? method, ask HelloSign::Client whether it respond or not
21
21
  # @param method [Symbol] method name
22
22
  #
23
- def self.respond_to?(method)
23
+ def self.respond_to?(method, include_all=false)
24
24
  return super || client.respond_to?(method)
25
25
  end
26
26
 
@@ -65,6 +65,10 @@ module HelloSign
65
65
  # :title => 'NDA with Acme Co.',
66
66
  # :subject => 'The NDA we talked about',
67
67
  # :message => 'Please sign this NDA and then we can discuss more. Let me know if you have any questions.',
68
+ # :metadata => {
69
+ # :client_id => '1234',
70
+ # :custom_text => 'NDA #9'
71
+ # },
68
72
  # :signers => [{
69
73
  # :email_address => 'jack@example.com',
70
74
  # :name => 'Jack',
@@ -114,6 +118,10 @@ module HelloSign
114
118
  # :title => 'Purchase Order',
115
119
  # :subject => 'Purchase Order',
116
120
  # :message => 'Glad we could come to an agreement.',
121
+ # :metadata => {
122
+ # :client_id => '1234',
123
+ # :custom_text => 'NDA #9'
124
+ # },
117
125
  # :signers => [
118
126
  # {
119
127
  # :email_address => 'george@example.com',
@@ -134,6 +142,10 @@ module HelloSign
134
142
  # :title => 'Purchase Order',
135
143
  # :subject => 'Purchase Order',
136
144
  # :message => 'Glad we could come to an agreement.',
145
+ # :metadata => {
146
+ # :client_id => '1234',
147
+ # :custom_text => 'NDA #9'
148
+ # },
137
149
  # :signers => [
138
150
  # {
139
151
  # :email_address => 'george@example.com',
@@ -230,6 +242,10 @@ module HelloSign
230
242
  # :title => 'NDA with Acme Co.',
231
243
  # :subject => 'The NDA we talked about',
232
244
  # :message => 'Please sign this NDA and then we can discuss more. Let me know if you have any questions.',
245
+ # :metadata => {
246
+ # :client_id => '1234',
247
+ # :custom_text => 'NDA #9'
248
+ # },
233
249
  # :signers => [{
234
250
  # :email_address => 'jack@example.com',
235
251
  # :name => 'Jack',
@@ -280,6 +296,10 @@ module HelloSign
280
296
  # :title => 'Purchase Order',
281
297
  # :subject => 'Purchase Order',
282
298
  # :message => 'Glad we could come to an agreement.',
299
+ # :metadata => {
300
+ # :client_id => '1234',
301
+ # :custom_text => 'NDA #9'
302
+ # },
283
303
  # :signers => [
284
304
  # {
285
305
  # :email_address => 'george@example.com',
@@ -46,6 +46,10 @@ module HelloSign
46
46
  # :type => 'request_signature',
47
47
  # :subject => 'The NDA we talked about',
48
48
  # :message => 'Please sign this NDA and then we can discuss more. Let me know if you have any questions.',
49
+ # :metadata => {
50
+ # :client_id => '1234',
51
+ # :custom_text => 'NDA #9'
52
+ # },
49
53
  # :signers => [{
50
54
  # :email_address => 'jack@example.com',
51
55
  # :name => 'Jack',
@@ -97,6 +101,10 @@ module HelloSign
97
101
  # :subject => 'The NDA we talked about',
98
102
  # :requester_email_address => requester@example.com",
99
103
  # :message => 'Please sign this NDA and then we can discuss more. Let me know if you have any questions.',
104
+ # :metadata => {
105
+ # :client_id => '1234',
106
+ # :custom_text => 'NDA #9'
107
+ # },
100
108
  # :signers => [{
101
109
  # :email_address => 'jack@example.com',
102
110
  # :name => 'Jack',
@@ -1,3 +1,3 @@
1
1
  module HelloSign
2
- VERSION = '3.0.7'
2
+ VERSION = '3.0.9'
3
3
  end
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.0.7
4
+ version: 3.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - HelloSign
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-09-25 00:00:00.000000000 Z
11
+ date: 2014-10-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler