signrequest_client 1.0.0 → 1.1.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.
Files changed (94) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +26 -7
  3. data/Rakefile +0 -1
  4. data/docs/ApiTokensApi.md +0 -164
  5. data/docs/Document.md +6 -0
  6. data/docs/DocumentAttachment.md +1 -1
  7. data/docs/DocumentAttachmentsApi.md +4 -4
  8. data/docs/DocumentSearch.md +5 -5
  9. data/docs/DocumentSigningLog.md +9 -0
  10. data/docs/DocumentSignrequest.md +28 -0
  11. data/docs/DocumentTeam.md +10 -0
  12. data/docs/DocumentsApi.md +11 -11
  13. data/docs/DocumentsSearchApi.md +8 -8
  14. data/docs/Event.md +1 -0
  15. data/docs/EventsApi.md +13 -13
  16. data/docs/FileFromSf.md +1 -0
  17. data/docs/InlineResponse201.md +1 -1
  18. data/docs/InlineSignRequest.md +3 -0
  19. data/docs/SignRequest.md +4 -1
  20. data/docs/SignRequestQuickCreate.md +5 -1
  21. data/docs/Signer.md +3 -0
  22. data/docs/SignrequestsApi.md +5 -5
  23. data/docs/Team.md +2 -0
  24. data/docs/TeamMember.md +1 -0
  25. data/docs/TeamMembersApi.md +7 -7
  26. data/docs/TeamsApi.md +57 -3
  27. data/docs/Template.md +1 -0
  28. data/docs/TemplatesApi.md +1 -1
  29. data/docs/WebhookSubscription.md +1 -0
  30. data/docs/WebhooksApi.md +4 -4
  31. data/lib/signrequest_client.rb +4 -1
  32. data/lib/signrequest_client/api/api_tokens_api.rb +5 -170
  33. data/lib/signrequest_client/api/document_attachments_api.rb +11 -14
  34. data/lib/signrequest_client/api/documents_api.rb +14 -18
  35. data/lib/signrequest_client/api/documents_search_api.rb +5 -6
  36. data/lib/signrequest_client/api/events_api.rb +8 -10
  37. data/lib/signrequest_client/api/signrequest_quick_create_api.rb +5 -6
  38. data/lib/signrequest_client/api/signrequests_api.rb +17 -22
  39. data/lib/signrequest_client/api/team_members_api.rb +8 -10
  40. data/lib/signrequest_client/api/teams_api.rb +69 -21
  41. data/lib/signrequest_client/api/templates_api.rb +8 -10
  42. data/lib/signrequest_client/api/webhooks_api.rb +20 -26
  43. data/lib/signrequest_client/api_client.rb +9 -9
  44. data/lib/signrequest_client/api_error.rb +1 -1
  45. data/lib/signrequest_client/configuration.rb +2 -2
  46. data/lib/signrequest_client/models/auth_token.rb +16 -23
  47. data/lib/signrequest_client/models/document.rb +113 -45
  48. data/lib/signrequest_client/models/document_attachment.rb +17 -25
  49. data/lib/signrequest_client/models/document_search.rb +111 -122
  50. data/lib/signrequest_client/models/document_signer_template_conf.rb +14 -21
  51. data/lib/signrequest_client/models/document_signing_log.rb +209 -0
  52. data/lib/signrequest_client/models/document_signrequest.rb +538 -0
  53. data/lib/signrequest_client/models/document_team.rb +240 -0
  54. data/lib/signrequest_client/models/event.rb +24 -20
  55. data/lib/signrequest_client/models/file_from_sf.rb +40 -21
  56. data/lib/signrequest_client/models/inline_document_signer_integration_data.rb +9 -13
  57. data/lib/signrequest_client/models/inline_integration_data.rb +9 -13
  58. data/lib/signrequest_client/models/inline_prefill_tags.rb +8 -13
  59. data/lib/signrequest_client/models/inline_response_200.rb +8 -13
  60. data/lib/signrequest_client/models/inline_response_200_1.rb +8 -13
  61. data/lib/signrequest_client/models/inline_response_200_2.rb +8 -13
  62. data/lib/signrequest_client/models/inline_response_200_3.rb +8 -13
  63. data/lib/signrequest_client/models/inline_response_200_4.rb +8 -13
  64. data/lib/signrequest_client/models/inline_response_200_5.rb +8 -13
  65. data/lib/signrequest_client/models/inline_response_200_6.rb +8 -13
  66. data/lib/signrequest_client/models/inline_response_200_7.rb +8 -13
  67. data/lib/signrequest_client/models/inline_response_200_8.rb +8 -13
  68. data/lib/signrequest_client/models/inline_response_200_9.rb +8 -13
  69. data/lib/signrequest_client/models/inline_response_201.rb +27 -31
  70. data/lib/signrequest_client/models/inline_response_201_1.rb +11 -15
  71. data/lib/signrequest_client/models/inline_sign_request.rb +69 -35
  72. data/lib/signrequest_client/models/inline_team.rb +12 -19
  73. data/lib/signrequest_client/models/inline_team_member.rb +8 -14
  74. data/lib/signrequest_client/models/invite_member.rb +10 -15
  75. data/lib/signrequest_client/models/placeholder.rb +15 -21
  76. data/lib/signrequest_client/models/required_attachment.rb +14 -20
  77. data/lib/signrequest_client/models/sign_request.rb +75 -40
  78. data/lib/signrequest_client/models/sign_request_quick_create.rb +124 -61
  79. data/lib/signrequest_client/models/signer.rb +103 -60
  80. data/lib/signrequest_client/models/signer_attachment.rb +10 -17
  81. data/lib/signrequest_client/models/signer_inputs.rb +14 -20
  82. data/lib/signrequest_client/models/signing_log.rb +8 -14
  83. data/lib/signrequest_client/models/team.rb +55 -34
  84. data/lib/signrequest_client/models/team_member.rb +18 -15
  85. data/lib/signrequest_client/models/template.rb +23 -20
  86. data/lib/signrequest_client/models/user.rb +18 -26
  87. data/lib/signrequest_client/models/webhook_subscription.rb +33 -30
  88. data/lib/signrequest_client/version.rb +2 -2
  89. data/signrequest_client-1.0.0.gem +0 -0
  90. data/signrequest_client.gemspec +4 -4
  91. data/spec/models/document_signing_log_spec.rb +47 -0
  92. data/spec/models/document_signrequest_spec.rb +165 -0
  93. data/spec/models/document_team_spec.rb +53 -0
  94. metadata +28 -42
@@ -6,14 +6,13 @@
6
6
  OpenAPI spec version: v1
7
7
  Contact: tech-support@signrequest.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.3.1
9
+ Swagger Codegen version: 2.4.8
10
10
 
11
11
  =end
12
12
 
13
13
  require 'date'
14
14
 
15
15
  module SignRequestClient
16
-
17
16
  class InlineResponse2003
18
17
  attr_accessor :count
19
18
 
@@ -23,7 +22,6 @@ module SignRequestClient
23
22
 
24
23
  attr_accessor :results
25
24
 
26
-
27
25
  # Attribute mapping from ruby-style variable name to JSON key.
28
26
  def self.attribute_map
29
27
  {
@@ -50,7 +48,7 @@ module SignRequestClient
50
48
  return unless attributes.is_a?(Hash)
51
49
 
52
50
  # convert string to symbol for hash key
53
- attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
51
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
54
52
 
55
53
  if attributes.has_key?(:'count')
56
54
  self.count = attributes[:'count']
@@ -69,7 +67,6 @@ module SignRequestClient
69
67
  self.results = value
70
68
  end
71
69
  end
72
-
73
70
  end
74
71
 
75
72
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -77,14 +74,14 @@ module SignRequestClient
77
74
  def list_invalid_properties
78
75
  invalid_properties = Array.new
79
76
  if @count.nil?
80
- invalid_properties.push("invalid value for 'count', count cannot be nil.")
77
+ invalid_properties.push('invalid value for "count", count cannot be nil.')
81
78
  end
82
79
 
83
80
  if @results.nil?
84
- invalid_properties.push("invalid value for 'results', results cannot be nil.")
81
+ invalid_properties.push('invalid value for "results", results cannot be nil.')
85
82
  end
86
83
 
87
- return invalid_properties
84
+ invalid_properties
88
85
  end
89
86
 
90
87
  # Check to see if the all the properties in the model are valid
@@ -92,7 +89,7 @@ module SignRequestClient
92
89
  def valid?
93
90
  return false if @count.nil?
94
91
  return false if @results.nil?
95
- return true
92
+ true
96
93
  end
97
94
 
98
95
  # Checks equality by comparing each attribute.
@@ -128,7 +125,7 @@ module SignRequestClient
128
125
  # check to ensure the input is an array given that the the attribute
129
126
  # is documented as an array but the input is not
130
127
  if attributes[self.class.attribute_map[key]].is_a?(Array)
131
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
128
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
132
129
  end
133
130
  elsif !attributes[self.class.attribute_map[key]].nil?
134
131
  self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
@@ -210,7 +207,7 @@ module SignRequestClient
210
207
  # @return [Hash] Returns the value in the form of hash
211
208
  def _to_hash(value)
212
209
  if value.is_a?(Array)
213
- value.compact.map{ |v| _to_hash(v) }
210
+ value.compact.map { |v| _to_hash(v) }
214
211
  elsif value.is_a?(Hash)
215
212
  {}.tap do |hash|
216
213
  value.each { |k, v| hash[k] = _to_hash(v) }
@@ -221,7 +218,5 @@ module SignRequestClient
221
218
  value
222
219
  end
223
220
  end
224
-
225
221
  end
226
-
227
222
  end
@@ -6,14 +6,13 @@
6
6
  OpenAPI spec version: v1
7
7
  Contact: tech-support@signrequest.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.3.1
9
+ Swagger Codegen version: 2.4.8
10
10
 
11
11
  =end
12
12
 
13
13
  require 'date'
14
14
 
15
15
  module SignRequestClient
16
-
17
16
  class InlineResponse2004
18
17
  attr_accessor :count
19
18
 
@@ -23,7 +22,6 @@ module SignRequestClient
23
22
 
24
23
  attr_accessor :results
25
24
 
26
-
27
25
  # Attribute mapping from ruby-style variable name to JSON key.
28
26
  def self.attribute_map
29
27
  {
@@ -50,7 +48,7 @@ module SignRequestClient
50
48
  return unless attributes.is_a?(Hash)
51
49
 
52
50
  # convert string to symbol for hash key
53
- attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
51
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
54
52
 
55
53
  if attributes.has_key?(:'count')
56
54
  self.count = attributes[:'count']
@@ -69,7 +67,6 @@ module SignRequestClient
69
67
  self.results = value
70
68
  end
71
69
  end
72
-
73
70
  end
74
71
 
75
72
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -77,14 +74,14 @@ module SignRequestClient
77
74
  def list_invalid_properties
78
75
  invalid_properties = Array.new
79
76
  if @count.nil?
80
- invalid_properties.push("invalid value for 'count', count cannot be nil.")
77
+ invalid_properties.push('invalid value for "count", count cannot be nil.')
81
78
  end
82
79
 
83
80
  if @results.nil?
84
- invalid_properties.push("invalid value for 'results', results cannot be nil.")
81
+ invalid_properties.push('invalid value for "results", results cannot be nil.')
85
82
  end
86
83
 
87
- return invalid_properties
84
+ invalid_properties
88
85
  end
89
86
 
90
87
  # Check to see if the all the properties in the model are valid
@@ -92,7 +89,7 @@ module SignRequestClient
92
89
  def valid?
93
90
  return false if @count.nil?
94
91
  return false if @results.nil?
95
- return true
92
+ true
96
93
  end
97
94
 
98
95
  # Checks equality by comparing each attribute.
@@ -128,7 +125,7 @@ module SignRequestClient
128
125
  # check to ensure the input is an array given that the the attribute
129
126
  # is documented as an array but the input is not
130
127
  if attributes[self.class.attribute_map[key]].is_a?(Array)
131
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
128
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
132
129
  end
133
130
  elsif !attributes[self.class.attribute_map[key]].nil?
134
131
  self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
@@ -210,7 +207,7 @@ module SignRequestClient
210
207
  # @return [Hash] Returns the value in the form of hash
211
208
  def _to_hash(value)
212
209
  if value.is_a?(Array)
213
- value.compact.map{ |v| _to_hash(v) }
210
+ value.compact.map { |v| _to_hash(v) }
214
211
  elsif value.is_a?(Hash)
215
212
  {}.tap do |hash|
216
213
  value.each { |k, v| hash[k] = _to_hash(v) }
@@ -221,7 +218,5 @@ module SignRequestClient
221
218
  value
222
219
  end
223
220
  end
224
-
225
221
  end
226
-
227
222
  end
@@ -6,14 +6,13 @@
6
6
  OpenAPI spec version: v1
7
7
  Contact: tech-support@signrequest.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.3.1
9
+ Swagger Codegen version: 2.4.8
10
10
 
11
11
  =end
12
12
 
13
13
  require 'date'
14
14
 
15
15
  module SignRequestClient
16
-
17
16
  class InlineResponse2005
18
17
  attr_accessor :count
19
18
 
@@ -23,7 +22,6 @@ module SignRequestClient
23
22
 
24
23
  attr_accessor :results
25
24
 
26
-
27
25
  # Attribute mapping from ruby-style variable name to JSON key.
28
26
  def self.attribute_map
29
27
  {
@@ -50,7 +48,7 @@ module SignRequestClient
50
48
  return unless attributes.is_a?(Hash)
51
49
 
52
50
  # convert string to symbol for hash key
53
- attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
51
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
54
52
 
55
53
  if attributes.has_key?(:'count')
56
54
  self.count = attributes[:'count']
@@ -69,7 +67,6 @@ module SignRequestClient
69
67
  self.results = value
70
68
  end
71
69
  end
72
-
73
70
  end
74
71
 
75
72
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -77,14 +74,14 @@ module SignRequestClient
77
74
  def list_invalid_properties
78
75
  invalid_properties = Array.new
79
76
  if @count.nil?
80
- invalid_properties.push("invalid value for 'count', count cannot be nil.")
77
+ invalid_properties.push('invalid value for "count", count cannot be nil.')
81
78
  end
82
79
 
83
80
  if @results.nil?
84
- invalid_properties.push("invalid value for 'results', results cannot be nil.")
81
+ invalid_properties.push('invalid value for "results", results cannot be nil.')
85
82
  end
86
83
 
87
- return invalid_properties
84
+ invalid_properties
88
85
  end
89
86
 
90
87
  # Check to see if the all the properties in the model are valid
@@ -92,7 +89,7 @@ module SignRequestClient
92
89
  def valid?
93
90
  return false if @count.nil?
94
91
  return false if @results.nil?
95
- return true
92
+ true
96
93
  end
97
94
 
98
95
  # Checks equality by comparing each attribute.
@@ -128,7 +125,7 @@ module SignRequestClient
128
125
  # check to ensure the input is an array given that the the attribute
129
126
  # is documented as an array but the input is not
130
127
  if attributes[self.class.attribute_map[key]].is_a?(Array)
131
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
128
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
132
129
  end
133
130
  elsif !attributes[self.class.attribute_map[key]].nil?
134
131
  self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
@@ -210,7 +207,7 @@ module SignRequestClient
210
207
  # @return [Hash] Returns the value in the form of hash
211
208
  def _to_hash(value)
212
209
  if value.is_a?(Array)
213
- value.compact.map{ |v| _to_hash(v) }
210
+ value.compact.map { |v| _to_hash(v) }
214
211
  elsif value.is_a?(Hash)
215
212
  {}.tap do |hash|
216
213
  value.each { |k, v| hash[k] = _to_hash(v) }
@@ -221,7 +218,5 @@ module SignRequestClient
221
218
  value
222
219
  end
223
220
  end
224
-
225
221
  end
226
-
227
222
  end
@@ -6,14 +6,13 @@
6
6
  OpenAPI spec version: v1
7
7
  Contact: tech-support@signrequest.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.3.1
9
+ Swagger Codegen version: 2.4.8
10
10
 
11
11
  =end
12
12
 
13
13
  require 'date'
14
14
 
15
15
  module SignRequestClient
16
-
17
16
  class InlineResponse2006
18
17
  attr_accessor :count
19
18
 
@@ -23,7 +22,6 @@ module SignRequestClient
23
22
 
24
23
  attr_accessor :results
25
24
 
26
-
27
25
  # Attribute mapping from ruby-style variable name to JSON key.
28
26
  def self.attribute_map
29
27
  {
@@ -50,7 +48,7 @@ module SignRequestClient
50
48
  return unless attributes.is_a?(Hash)
51
49
 
52
50
  # convert string to symbol for hash key
53
- attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
51
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
54
52
 
55
53
  if attributes.has_key?(:'count')
56
54
  self.count = attributes[:'count']
@@ -69,7 +67,6 @@ module SignRequestClient
69
67
  self.results = value
70
68
  end
71
69
  end
72
-
73
70
  end
74
71
 
75
72
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -77,14 +74,14 @@ module SignRequestClient
77
74
  def list_invalid_properties
78
75
  invalid_properties = Array.new
79
76
  if @count.nil?
80
- invalid_properties.push("invalid value for 'count', count cannot be nil.")
77
+ invalid_properties.push('invalid value for "count", count cannot be nil.')
81
78
  end
82
79
 
83
80
  if @results.nil?
84
- invalid_properties.push("invalid value for 'results', results cannot be nil.")
81
+ invalid_properties.push('invalid value for "results", results cannot be nil.')
85
82
  end
86
83
 
87
- return invalid_properties
84
+ invalid_properties
88
85
  end
89
86
 
90
87
  # Check to see if the all the properties in the model are valid
@@ -92,7 +89,7 @@ module SignRequestClient
92
89
  def valid?
93
90
  return false if @count.nil?
94
91
  return false if @results.nil?
95
- return true
92
+ true
96
93
  end
97
94
 
98
95
  # Checks equality by comparing each attribute.
@@ -128,7 +125,7 @@ module SignRequestClient
128
125
  # check to ensure the input is an array given that the the attribute
129
126
  # is documented as an array but the input is not
130
127
  if attributes[self.class.attribute_map[key]].is_a?(Array)
131
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
128
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
132
129
  end
133
130
  elsif !attributes[self.class.attribute_map[key]].nil?
134
131
  self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
@@ -210,7 +207,7 @@ module SignRequestClient
210
207
  # @return [Hash] Returns the value in the form of hash
211
208
  def _to_hash(value)
212
209
  if value.is_a?(Array)
213
- value.compact.map{ |v| _to_hash(v) }
210
+ value.compact.map { |v| _to_hash(v) }
214
211
  elsif value.is_a?(Hash)
215
212
  {}.tap do |hash|
216
213
  value.each { |k, v| hash[k] = _to_hash(v) }
@@ -221,7 +218,5 @@ module SignRequestClient
221
218
  value
222
219
  end
223
220
  end
224
-
225
221
  end
226
-
227
222
  end
@@ -6,14 +6,13 @@
6
6
  OpenAPI spec version: v1
7
7
  Contact: tech-support@signrequest.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.3.1
9
+ Swagger Codegen version: 2.4.8
10
10
 
11
11
  =end
12
12
 
13
13
  require 'date'
14
14
 
15
15
  module SignRequestClient
16
-
17
16
  class InlineResponse2007
18
17
  attr_accessor :count
19
18
 
@@ -23,7 +22,6 @@ module SignRequestClient
23
22
 
24
23
  attr_accessor :results
25
24
 
26
-
27
25
  # Attribute mapping from ruby-style variable name to JSON key.
28
26
  def self.attribute_map
29
27
  {
@@ -50,7 +48,7 @@ module SignRequestClient
50
48
  return unless attributes.is_a?(Hash)
51
49
 
52
50
  # convert string to symbol for hash key
53
- attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
51
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
54
52
 
55
53
  if attributes.has_key?(:'count')
56
54
  self.count = attributes[:'count']
@@ -69,7 +67,6 @@ module SignRequestClient
69
67
  self.results = value
70
68
  end
71
69
  end
72
-
73
70
  end
74
71
 
75
72
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -77,14 +74,14 @@ module SignRequestClient
77
74
  def list_invalid_properties
78
75
  invalid_properties = Array.new
79
76
  if @count.nil?
80
- invalid_properties.push("invalid value for 'count', count cannot be nil.")
77
+ invalid_properties.push('invalid value for "count", count cannot be nil.')
81
78
  end
82
79
 
83
80
  if @results.nil?
84
- invalid_properties.push("invalid value for 'results', results cannot be nil.")
81
+ invalid_properties.push('invalid value for "results", results cannot be nil.')
85
82
  end
86
83
 
87
- return invalid_properties
84
+ invalid_properties
88
85
  end
89
86
 
90
87
  # Check to see if the all the properties in the model are valid
@@ -92,7 +89,7 @@ module SignRequestClient
92
89
  def valid?
93
90
  return false if @count.nil?
94
91
  return false if @results.nil?
95
- return true
92
+ true
96
93
  end
97
94
 
98
95
  # Checks equality by comparing each attribute.
@@ -128,7 +125,7 @@ module SignRequestClient
128
125
  # check to ensure the input is an array given that the the attribute
129
126
  # is documented as an array but the input is not
130
127
  if attributes[self.class.attribute_map[key]].is_a?(Array)
131
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
128
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
132
129
  end
133
130
  elsif !attributes[self.class.attribute_map[key]].nil?
134
131
  self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
@@ -210,7 +207,7 @@ module SignRequestClient
210
207
  # @return [Hash] Returns the value in the form of hash
211
208
  def _to_hash(value)
212
209
  if value.is_a?(Array)
213
- value.compact.map{ |v| _to_hash(v) }
210
+ value.compact.map { |v| _to_hash(v) }
214
211
  elsif value.is_a?(Hash)
215
212
  {}.tap do |hash|
216
213
  value.each { |k, v| hash[k] = _to_hash(v) }
@@ -221,7 +218,5 @@ module SignRequestClient
221
218
  value
222
219
  end
223
220
  end
224
-
225
221
  end
226
-
227
222
  end