form_api 1.4.0 → 1.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/Gemfile.lock +1 -1
- data/README.md +4 -4
- data/docs/Template1.md +20 -0
- data/lib/form_api/models/template1.rb +325 -0
- data/lib/form_api/version.rb +1 -1
- data/spec/models/template1_spec.rb +117 -0
- metadata +20 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ef9cd2af9790f6ab86f86c5a8d07f0cef50a92463a73c701a03a2e5fdf70b6d6
|
4
|
+
data.tar.gz: a1b0e7b91094518f686c435c422d52ac5527be96fe31acfbdd761046c46f9141
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fc0bc7f68c075fc40a0753a1650125fe700327469844e989761058797987b9d9323a91d9eb693276b38a594e116f684528d2a9a5368fc492f8441aa7035bce4f
|
7
|
+
data.tar.gz: 03bc2be8d1005548d42154060f3d8c409143e6c908846989dcd5fa284ac0c0ce1a6efece34f5b335a250dd46e2eda10f938ed28523aa7f1548143d58c0fbfed2
|
data/CHANGELOG.md
ADDED
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -7,7 +7,7 @@ FormAPI is a service that helps you fill out and sign PDF templates.
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
8
8
|
|
9
9
|
- API version: v1
|
10
|
-
- Package version: 1.4.
|
10
|
+
- Package version: 1.4.1
|
11
11
|
- Build package: io.formapi.codegen.FormApiRubyClientCodegen
|
12
12
|
|
13
13
|
## Installation
|
@@ -23,15 +23,15 @@ gem build form_api.gemspec
|
|
23
23
|
Then either install the gem locally:
|
24
24
|
|
25
25
|
```shell
|
26
|
-
gem install ./form_api-1.4.
|
26
|
+
gem install ./form_api-1.4.1.gem
|
27
27
|
```
|
28
|
-
(for development, run `gem install --dev ./form_api-1.4.
|
28
|
+
(for development, run `gem install --dev ./form_api-1.4.1.gem` to install the development dependencies)
|
29
29
|
|
30
30
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
31
31
|
|
32
32
|
Finally add this to the Gemfile:
|
33
33
|
|
34
|
-
gem 'form_api', '~> 1.4.
|
34
|
+
gem 'form_api', '~> 1.4.1'
|
35
35
|
|
36
36
|
### Install from Git
|
37
37
|
|
data/docs/Template1.md
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
# FormAPI::Template1
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**expiration_interval** | **String** | | [optional]
|
7
|
+
**webhook_url** | **String** | | [optional]
|
8
|
+
**expire_after** | **Float** | | [optional]
|
9
|
+
**allow_additional_properties** | **BOOLEAN** | | [optional]
|
10
|
+
**public_submissions** | **BOOLEAN** | | [optional]
|
11
|
+
**slack_webhook_url** | **String** | | [optional]
|
12
|
+
**blockchain_timestamp_verification** | **BOOLEAN** | | [optional]
|
13
|
+
**public_web_form** | **BOOLEAN** | | [optional]
|
14
|
+
**expire_submissions** | **BOOLEAN** | | [optional]
|
15
|
+
**name** | **String** | | [optional]
|
16
|
+
**template_type** | **String** | | [optional]
|
17
|
+
**id** | **String** | | [optional]
|
18
|
+
**redirect_url** | **String** | | [optional]
|
19
|
+
|
20
|
+
|
@@ -0,0 +1,325 @@
|
|
1
|
+
=begin
|
2
|
+
#API v1
|
3
|
+
|
4
|
+
#FormAPI is a service that helps you fill out and sign PDF templates.
|
5
|
+
|
6
|
+
OpenAPI spec version: v1
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 3.3.0-SNAPSHOT
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'date'
|
14
|
+
|
15
|
+
module FormAPI
|
16
|
+
class Template1
|
17
|
+
attr_accessor :expiration_interval
|
18
|
+
|
19
|
+
attr_accessor :webhook_url
|
20
|
+
|
21
|
+
attr_accessor :expire_after
|
22
|
+
|
23
|
+
attr_accessor :allow_additional_properties
|
24
|
+
|
25
|
+
attr_accessor :public_submissions
|
26
|
+
|
27
|
+
attr_accessor :slack_webhook_url
|
28
|
+
|
29
|
+
attr_accessor :blockchain_timestamp_verification
|
30
|
+
|
31
|
+
attr_accessor :public_web_form
|
32
|
+
|
33
|
+
attr_accessor :expire_submissions
|
34
|
+
|
35
|
+
attr_accessor :name
|
36
|
+
|
37
|
+
attr_accessor :template_type
|
38
|
+
|
39
|
+
attr_accessor :id
|
40
|
+
|
41
|
+
attr_accessor :redirect_url
|
42
|
+
|
43
|
+
class EnumAttributeValidator
|
44
|
+
attr_reader :datatype
|
45
|
+
attr_reader :allowable_values
|
46
|
+
|
47
|
+
def initialize(datatype, allowable_values)
|
48
|
+
@allowable_values = allowable_values.map do |value|
|
49
|
+
case datatype.to_s
|
50
|
+
when /Integer/i
|
51
|
+
value.to_i
|
52
|
+
when /Float/i
|
53
|
+
value.to_f
|
54
|
+
else
|
55
|
+
value
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|
59
|
+
|
60
|
+
def valid?(value)
|
61
|
+
!value || allowable_values.include?(value)
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
65
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
66
|
+
def self.attribute_map
|
67
|
+
{
|
68
|
+
:'expiration_interval' => :'expiration_interval',
|
69
|
+
:'webhook_url' => :'webhook_url',
|
70
|
+
:'expire_after' => :'expire_after',
|
71
|
+
:'allow_additional_properties' => :'allow_additional_properties',
|
72
|
+
:'public_submissions' => :'public_submissions',
|
73
|
+
:'slack_webhook_url' => :'slack_webhook_url',
|
74
|
+
:'blockchain_timestamp_verification' => :'blockchain_timestamp_verification',
|
75
|
+
:'public_web_form' => :'public_web_form',
|
76
|
+
:'expire_submissions' => :'expire_submissions',
|
77
|
+
:'name' => :'name',
|
78
|
+
:'template_type' => :'template_type',
|
79
|
+
:'id' => :'id',
|
80
|
+
:'redirect_url' => :'redirect_url'
|
81
|
+
}
|
82
|
+
end
|
83
|
+
|
84
|
+
# Attribute type mapping.
|
85
|
+
def self.openapi_types
|
86
|
+
{
|
87
|
+
:'expiration_interval' => :'String',
|
88
|
+
:'webhook_url' => :'String',
|
89
|
+
:'expire_after' => :'Float',
|
90
|
+
:'allow_additional_properties' => :'BOOLEAN',
|
91
|
+
:'public_submissions' => :'BOOLEAN',
|
92
|
+
:'slack_webhook_url' => :'String',
|
93
|
+
:'blockchain_timestamp_verification' => :'BOOLEAN',
|
94
|
+
:'public_web_form' => :'BOOLEAN',
|
95
|
+
:'expire_submissions' => :'BOOLEAN',
|
96
|
+
:'name' => :'String',
|
97
|
+
:'template_type' => :'String',
|
98
|
+
:'id' => :'String',
|
99
|
+
:'redirect_url' => :'String'
|
100
|
+
}
|
101
|
+
end
|
102
|
+
|
103
|
+
# Initializes the object
|
104
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
105
|
+
def initialize(attributes = {})
|
106
|
+
return unless attributes.is_a?(Hash)
|
107
|
+
|
108
|
+
# convert string to symbol for hash key
|
109
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
110
|
+
|
111
|
+
if attributes.has_key?(:'expiration_interval')
|
112
|
+
self.expiration_interval = attributes[:'expiration_interval']
|
113
|
+
end
|
114
|
+
|
115
|
+
if attributes.has_key?(:'webhook_url')
|
116
|
+
self.webhook_url = attributes[:'webhook_url']
|
117
|
+
end
|
118
|
+
|
119
|
+
if attributes.has_key?(:'expire_after')
|
120
|
+
self.expire_after = attributes[:'expire_after']
|
121
|
+
end
|
122
|
+
|
123
|
+
if attributes.has_key?(:'allow_additional_properties')
|
124
|
+
self.allow_additional_properties = attributes[:'allow_additional_properties']
|
125
|
+
end
|
126
|
+
|
127
|
+
if attributes.has_key?(:'public_submissions')
|
128
|
+
self.public_submissions = attributes[:'public_submissions']
|
129
|
+
end
|
130
|
+
|
131
|
+
if attributes.has_key?(:'slack_webhook_url')
|
132
|
+
self.slack_webhook_url = attributes[:'slack_webhook_url']
|
133
|
+
end
|
134
|
+
|
135
|
+
if attributes.has_key?(:'blockchain_timestamp_verification')
|
136
|
+
self.blockchain_timestamp_verification = attributes[:'blockchain_timestamp_verification']
|
137
|
+
end
|
138
|
+
|
139
|
+
if attributes.has_key?(:'public_web_form')
|
140
|
+
self.public_web_form = attributes[:'public_web_form']
|
141
|
+
end
|
142
|
+
|
143
|
+
if attributes.has_key?(:'expire_submissions')
|
144
|
+
self.expire_submissions = attributes[:'expire_submissions']
|
145
|
+
end
|
146
|
+
|
147
|
+
if attributes.has_key?(:'name')
|
148
|
+
self.name = attributes[:'name']
|
149
|
+
end
|
150
|
+
|
151
|
+
if attributes.has_key?(:'template_type')
|
152
|
+
self.template_type = attributes[:'template_type']
|
153
|
+
end
|
154
|
+
|
155
|
+
if attributes.has_key?(:'id')
|
156
|
+
self.id = attributes[:'id']
|
157
|
+
end
|
158
|
+
|
159
|
+
if attributes.has_key?(:'redirect_url')
|
160
|
+
self.redirect_url = attributes[:'redirect_url']
|
161
|
+
end
|
162
|
+
end
|
163
|
+
|
164
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
165
|
+
# @return Array for valid properties with the reasons
|
166
|
+
def list_invalid_properties
|
167
|
+
invalid_properties = Array.new
|
168
|
+
invalid_properties
|
169
|
+
end
|
170
|
+
|
171
|
+
# Check to see if the all the properties in the model are valid
|
172
|
+
# @return true if the model is valid
|
173
|
+
def valid?
|
174
|
+
expiration_interval_validator = EnumAttributeValidator.new('String', ['minutes', 'hours', 'days'])
|
175
|
+
return false unless expiration_interval_validator.valid?(@expiration_interval)
|
176
|
+
true
|
177
|
+
end
|
178
|
+
|
179
|
+
# Custom attribute writer method checking allowed values (enum).
|
180
|
+
# @param [Object] expiration_interval Object to be assigned
|
181
|
+
def expiration_interval=(expiration_interval)
|
182
|
+
validator = EnumAttributeValidator.new('String', ['minutes', 'hours', 'days'])
|
183
|
+
unless validator.valid?(expiration_interval)
|
184
|
+
fail ArgumentError, 'invalid value for "expiration_interval", must be one of #{validator.allowable_values}.'
|
185
|
+
end
|
186
|
+
@expiration_interval = expiration_interval
|
187
|
+
end
|
188
|
+
|
189
|
+
# Checks equality by comparing each attribute.
|
190
|
+
# @param [Object] Object to be compared
|
191
|
+
def ==(o)
|
192
|
+
return true if self.equal?(o)
|
193
|
+
self.class == o.class &&
|
194
|
+
expiration_interval == o.expiration_interval &&
|
195
|
+
webhook_url == o.webhook_url &&
|
196
|
+
expire_after == o.expire_after &&
|
197
|
+
allow_additional_properties == o.allow_additional_properties &&
|
198
|
+
public_submissions == o.public_submissions &&
|
199
|
+
slack_webhook_url == o.slack_webhook_url &&
|
200
|
+
blockchain_timestamp_verification == o.blockchain_timestamp_verification &&
|
201
|
+
public_web_form == o.public_web_form &&
|
202
|
+
expire_submissions == o.expire_submissions &&
|
203
|
+
name == o.name &&
|
204
|
+
template_type == o.template_type &&
|
205
|
+
id == o.id &&
|
206
|
+
redirect_url == o.redirect_url
|
207
|
+
end
|
208
|
+
|
209
|
+
# @see the `==` method
|
210
|
+
# @param [Object] Object to be compared
|
211
|
+
def eql?(o)
|
212
|
+
self == o
|
213
|
+
end
|
214
|
+
|
215
|
+
# Calculates hash code according to all attributes.
|
216
|
+
# @return [Fixnum] Hash code
|
217
|
+
def hash
|
218
|
+
[expiration_interval, webhook_url, expire_after, allow_additional_properties, public_submissions, slack_webhook_url, blockchain_timestamp_verification, public_web_form, expire_submissions, name, template_type, id, redirect_url].hash
|
219
|
+
end
|
220
|
+
|
221
|
+
# Builds the object from hash
|
222
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
223
|
+
# @return [Object] Returns the model itself
|
224
|
+
def build_from_hash(attributes)
|
225
|
+
return nil unless attributes.is_a?(Hash)
|
226
|
+
self.class.openapi_types.each_pair do |key, type|
|
227
|
+
if type =~ /\AArray<(.*)>/i
|
228
|
+
# check to ensure the input is an array given that the the attribute
|
229
|
+
# is documented as an array but the input is not
|
230
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
231
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
232
|
+
end
|
233
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
234
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
235
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
236
|
+
end
|
237
|
+
|
238
|
+
self
|
239
|
+
end
|
240
|
+
|
241
|
+
# Deserializes the data based on type
|
242
|
+
# @param string type Data type
|
243
|
+
# @param string value Value to be deserialized
|
244
|
+
# @return [Object] Deserialized data
|
245
|
+
def _deserialize(type, value)
|
246
|
+
case type.to_sym
|
247
|
+
when :DateTime
|
248
|
+
DateTime.parse(value)
|
249
|
+
when :Date
|
250
|
+
Date.parse(value)
|
251
|
+
when :String
|
252
|
+
value.to_s
|
253
|
+
when :Integer
|
254
|
+
value.to_i
|
255
|
+
when :Float
|
256
|
+
value.to_f
|
257
|
+
when :BOOLEAN
|
258
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
259
|
+
true
|
260
|
+
else
|
261
|
+
false
|
262
|
+
end
|
263
|
+
when :Object
|
264
|
+
# generic object (usually a Hash), return directly
|
265
|
+
value
|
266
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
267
|
+
inner_type = Regexp.last_match[:inner_type]
|
268
|
+
value.map { |v| _deserialize(inner_type, v) }
|
269
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
270
|
+
k_type = Regexp.last_match[:k_type]
|
271
|
+
v_type = Regexp.last_match[:v_type]
|
272
|
+
{}.tap do |hash|
|
273
|
+
value.each do |k, v|
|
274
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
275
|
+
end
|
276
|
+
end
|
277
|
+
else # model
|
278
|
+
temp_model = FormAPI.const_get(type).new
|
279
|
+
temp_model.build_from_hash(value)
|
280
|
+
end
|
281
|
+
end
|
282
|
+
|
283
|
+
# Returns the string representation of the object
|
284
|
+
# @return [String] String presentation of the object
|
285
|
+
def to_s
|
286
|
+
to_hash.to_s
|
287
|
+
end
|
288
|
+
|
289
|
+
# to_body is an alias to to_hash (backward compatibility)
|
290
|
+
# @return [Hash] Returns the object in the form of hash
|
291
|
+
def to_body
|
292
|
+
to_hash
|
293
|
+
end
|
294
|
+
|
295
|
+
# Returns the object in the form of hash
|
296
|
+
# @return [Hash] Returns the object in the form of hash
|
297
|
+
def to_hash
|
298
|
+
hash = {}
|
299
|
+
self.class.attribute_map.each_pair do |attr, param|
|
300
|
+
value = self.send(attr)
|
301
|
+
next if value.nil?
|
302
|
+
hash[param] = _to_hash(value)
|
303
|
+
end
|
304
|
+
hash
|
305
|
+
end
|
306
|
+
|
307
|
+
# Outputs non-array value in the form of hash
|
308
|
+
# For object, use to_hash. Otherwise, just return the value
|
309
|
+
# @param [Object] value Any valid value
|
310
|
+
# @return [Hash] Returns the value in the form of hash
|
311
|
+
def _to_hash(value)
|
312
|
+
if value.is_a?(Array)
|
313
|
+
value.compact.map { |v| _to_hash(v) }
|
314
|
+
elsif value.is_a?(Hash)
|
315
|
+
{}.tap do |hash|
|
316
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
317
|
+
end
|
318
|
+
elsif value.respond_to? :to_hash
|
319
|
+
value.to_hash
|
320
|
+
else
|
321
|
+
value
|
322
|
+
end
|
323
|
+
end
|
324
|
+
end
|
325
|
+
end
|
data/lib/form_api/version.rb
CHANGED
@@ -0,0 +1,117 @@
|
|
1
|
+
=begin
|
2
|
+
#API v1
|
3
|
+
|
4
|
+
#FormAPI is a service that helps you fill out and sign PDF templates.
|
5
|
+
|
6
|
+
OpenAPI spec version: v1
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 3.3.0-SNAPSHOT
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for FormAPI::Template1
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'Template1' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = FormAPI::Template1.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of Template1' do
|
31
|
+
it 'should create an instance of Template1' do
|
32
|
+
expect(@instance).to be_instance_of(FormAPI::Template1)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "expiration_interval"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["minutes", "hours", "days"])
|
39
|
+
# validator.allowable_values.each do |value|
|
40
|
+
# expect { @instance.expiration_interval = value }.not_to raise_error
|
41
|
+
# end
|
42
|
+
end
|
43
|
+
end
|
44
|
+
|
45
|
+
describe 'test attribute "webhook_url"' do
|
46
|
+
it 'should work' do
|
47
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
48
|
+
end
|
49
|
+
end
|
50
|
+
|
51
|
+
describe 'test attribute "expire_after"' do
|
52
|
+
it 'should work' do
|
53
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
57
|
+
describe 'test attribute "allow_additional_properties"' do
|
58
|
+
it 'should work' do
|
59
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
60
|
+
end
|
61
|
+
end
|
62
|
+
|
63
|
+
describe 'test attribute "public_submissions"' do
|
64
|
+
it 'should work' do
|
65
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
66
|
+
end
|
67
|
+
end
|
68
|
+
|
69
|
+
describe 'test attribute "slack_webhook_url"' do
|
70
|
+
it 'should work' do
|
71
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
72
|
+
end
|
73
|
+
end
|
74
|
+
|
75
|
+
describe 'test attribute "blockchain_timestamp_verification"' do
|
76
|
+
it 'should work' do
|
77
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
78
|
+
end
|
79
|
+
end
|
80
|
+
|
81
|
+
describe 'test attribute "public_web_form"' do
|
82
|
+
it 'should work' do
|
83
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
84
|
+
end
|
85
|
+
end
|
86
|
+
|
87
|
+
describe 'test attribute "expire_submissions"' do
|
88
|
+
it 'should work' do
|
89
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
90
|
+
end
|
91
|
+
end
|
92
|
+
|
93
|
+
describe 'test attribute "name"' do
|
94
|
+
it 'should work' do
|
95
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
96
|
+
end
|
97
|
+
end
|
98
|
+
|
99
|
+
describe 'test attribute "template_type"' do
|
100
|
+
it 'should work' do
|
101
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
102
|
+
end
|
103
|
+
end
|
104
|
+
|
105
|
+
describe 'test attribute "id"' do
|
106
|
+
it 'should work' do
|
107
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
108
|
+
end
|
109
|
+
end
|
110
|
+
|
111
|
+
describe 'test attribute "redirect_url"' do
|
112
|
+
it 'should work' do
|
113
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
114
|
+
end
|
115
|
+
end
|
116
|
+
|
117
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: form_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Form Applications, Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-12-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -54,42 +54,42 @@ dependencies:
|
|
54
54
|
name: json
|
55
55
|
requirement: !ruby/object:Gem::Requirement
|
56
56
|
requirements:
|
57
|
-
- - "~>"
|
58
|
-
- !ruby/object:Gem::Version
|
59
|
-
version: '2.1'
|
60
57
|
- - ">="
|
61
58
|
- !ruby/object:Gem::Version
|
62
59
|
version: 2.1.0
|
60
|
+
- - "~>"
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: '2.1'
|
63
63
|
type: :runtime
|
64
64
|
prerelease: false
|
65
65
|
version_requirements: !ruby/object:Gem::Requirement
|
66
66
|
requirements:
|
67
|
-
- - "~>"
|
68
|
-
- !ruby/object:Gem::Version
|
69
|
-
version: '2.1'
|
70
67
|
- - ">="
|
71
68
|
- !ruby/object:Gem::Version
|
72
69
|
version: 2.1.0
|
70
|
+
- - "~>"
|
71
|
+
- !ruby/object:Gem::Version
|
72
|
+
version: '2.1'
|
73
73
|
- !ruby/object:Gem::Dependency
|
74
74
|
name: rspec
|
75
75
|
requirement: !ruby/object:Gem::Requirement
|
76
76
|
requirements:
|
77
|
-
- - "~>"
|
78
|
-
- !ruby/object:Gem::Version
|
79
|
-
version: '3.6'
|
80
77
|
- - ">="
|
81
78
|
- !ruby/object:Gem::Version
|
82
79
|
version: 3.6.0
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '3.6'
|
83
83
|
type: :development
|
84
84
|
prerelease: false
|
85
85
|
version_requirements: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- - "~>"
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: '3.6'
|
90
87
|
- - ">="
|
91
88
|
- !ruby/object:Gem::Version
|
92
89
|
version: 3.6.0
|
90
|
+
- - "~>"
|
91
|
+
- !ruby/object:Gem::Version
|
92
|
+
version: '3.6'
|
93
93
|
- !ruby/object:Gem::Dependency
|
94
94
|
name: vcr
|
95
95
|
requirement: !ruby/object:Gem::Requirement
|
@@ -226,6 +226,7 @@ files:
|
|
226
226
|
- ".swagger-codegen/VERSION"
|
227
227
|
- ".swagger-revision"
|
228
228
|
- ".travis.yml"
|
229
|
+
- CHANGELOG.md
|
229
230
|
- Gemfile
|
230
231
|
- Gemfile.lock
|
231
232
|
- LICENSE
|
@@ -253,6 +254,7 @@ files:
|
|
253
254
|
- docs/SubmissionBatchData.md
|
254
255
|
- docs/SubmissionDataRequest.md
|
255
256
|
- docs/Template.md
|
257
|
+
- docs/Template1.md
|
256
258
|
- docs/UpdateDataRequestResponse.md
|
257
259
|
- docs/UpdateSubmissionDataRequestData.md
|
258
260
|
- form_api.gemspec
|
@@ -284,6 +286,7 @@ files:
|
|
284
286
|
- lib/form_api/models/submission_batch_data.rb
|
285
287
|
- lib/form_api/models/submission_data_request.rb
|
286
288
|
- lib/form_api/models/template.rb
|
289
|
+
- lib/form_api/models/template1.rb
|
287
290
|
- lib/form_api/models/update_data_request_response.rb
|
288
291
|
- lib/form_api/models/update_submission_data_request_data.rb
|
289
292
|
- lib/form_api/version.rb
|
@@ -312,6 +315,7 @@ files:
|
|
312
315
|
- spec/models/submission_batch_spec.rb
|
313
316
|
- spec/models/submission_data_request_spec.rb
|
314
317
|
- spec/models/submission_spec.rb
|
318
|
+
- spec/models/template1_spec.rb
|
315
319
|
- spec/models/template_spec.rb
|
316
320
|
- spec/models/update_data_request_response_spec.rb
|
317
321
|
- spec/models/update_submission_data_request_data_spec.rb
|
@@ -336,7 +340,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
336
340
|
version: '0'
|
337
341
|
requirements: []
|
338
342
|
rubyforge_project:
|
339
|
-
rubygems_version: 2.7.
|
343
|
+
rubygems_version: 2.7.8
|
340
344
|
signing_key:
|
341
345
|
specification_version: 4
|
342
346
|
summary: FormAPI API Client
|
@@ -366,6 +370,7 @@ test_files:
|
|
366
370
|
- spec/models/submission_batch_spec.rb
|
367
371
|
- spec/models/submission_data_request_spec.rb
|
368
372
|
- spec/models/submission_spec.rb
|
373
|
+
- spec/models/template1_spec.rb
|
369
374
|
- spec/models/template_spec.rb
|
370
375
|
- spec/models/update_data_request_response_spec.rb
|
371
376
|
- spec/models/update_submission_data_request_data_spec.rb
|