mx-platform-ruby 0.12.0 → 0.13.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/docs/MxPlatformApi.md +0 -213
- data/lib/mx-platform-ruby/api/mx_platform_api.rb +0 -188
- data/lib/mx-platform-ruby/configuration.rb +0 -7
- data/lib/mx-platform-ruby/version.rb +1 -1
- data/lib/mx-platform-ruby.rb +0 -7
- data/openapi/config.yml +1 -1
- data/spec/api/mx_platform_api_spec.rb +0 -36
- metadata +2 -30
- data/docs/PartnerAccountResponse.md +0 -30
- data/docs/PartnerAccountResponseBody.md +0 -18
- data/docs/PartnerAuthorizationCodeRequest.md +0 -22
- data/docs/PartnerAuthorizationCodeRequestBody.md +0 -18
- data/docs/PartnerAuthorizationCodeResponse.md +0 -18
- data/docs/PartnerAuthorizationCodeResponseBody.md +0 -18
- data/docs/PartnerTokenResponseBody.md +0 -22
- data/lib/mx-platform-ruby/models/partner_account_response.rb +0 -279
- data/lib/mx-platform-ruby/models/partner_account_response_body.rb +0 -218
- data/lib/mx-platform-ruby/models/partner_authorization_code_request.rb +0 -236
- data/lib/mx-platform-ruby/models/partner_authorization_code_request_body.rb +0 -218
- data/lib/mx-platform-ruby/models/partner_authorization_code_response.rb +0 -219
- data/lib/mx-platform-ruby/models/partner_authorization_code_response_body.rb +0 -218
- data/lib/mx-platform-ruby/models/partner_token_response_body.rb +0 -239
- data/spec/models/partner_account_response_body_spec.rb +0 -34
- data/spec/models/partner_account_response_spec.rb +0 -70
- data/spec/models/partner_authorization_code_request_body_spec.rb +0 -34
- data/spec/models/partner_authorization_code_request_spec.rb +0 -46
- data/spec/models/partner_authorization_code_response_body_spec.rb +0 -34
- data/spec/models/partner_authorization_code_response_spec.rb +0 -34
- data/spec/models/partner_token_response_body_spec.rb +0 -46
@@ -1,218 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#MX Platform API
|
3
|
-
|
4
|
-
#The MX Platform API is a powerful, fully-featured API designed to make aggregating and enhancing financial data easy and reliable. It can seamlessly connect your app or website to tens of thousands of financial institutions.
|
5
|
-
|
6
|
-
The version of the OpenAPI document: 0.1.0
|
7
|
-
|
8
|
-
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.4.0
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'date'
|
14
|
-
require 'time'
|
15
|
-
|
16
|
-
module MxPlatformRuby
|
17
|
-
class PartnerAuthorizationCodeResponseBody
|
18
|
-
attr_accessor :partner_authorization_code
|
19
|
-
|
20
|
-
# Attribute mapping from ruby-style variable name to JSON key.
|
21
|
-
def self.attribute_map
|
22
|
-
{
|
23
|
-
:'partner_authorization_code' => :'partner_authorization_code'
|
24
|
-
}
|
25
|
-
end
|
26
|
-
|
27
|
-
# Returns all the JSON keys this model knows about
|
28
|
-
def self.acceptable_attributes
|
29
|
-
attribute_map.values
|
30
|
-
end
|
31
|
-
|
32
|
-
# Attribute type mapping.
|
33
|
-
def self.openapi_types
|
34
|
-
{
|
35
|
-
:'partner_authorization_code' => :'PartnerAuthorizationCodeResponse'
|
36
|
-
}
|
37
|
-
end
|
38
|
-
|
39
|
-
# List of attributes with nullable: true
|
40
|
-
def self.openapi_nullable
|
41
|
-
Set.new([
|
42
|
-
])
|
43
|
-
end
|
44
|
-
|
45
|
-
# Initializes the object
|
46
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
47
|
-
def initialize(attributes = {})
|
48
|
-
if (!attributes.is_a?(Hash))
|
49
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `MxPlatformRuby::PartnerAuthorizationCodeResponseBody` initialize method"
|
50
|
-
end
|
51
|
-
|
52
|
-
# check to see if the attribute exists and convert string to symbol for hash key
|
53
|
-
attributes = attributes.each_with_object({}) { |(k, v), h|
|
54
|
-
if (!self.class.attribute_map.key?(k.to_sym))
|
55
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `MxPlatformRuby::PartnerAuthorizationCodeResponseBody`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
56
|
-
end
|
57
|
-
h[k.to_sym] = v
|
58
|
-
}
|
59
|
-
|
60
|
-
if attributes.key?(:'partner_authorization_code')
|
61
|
-
self.partner_authorization_code = attributes[:'partner_authorization_code']
|
62
|
-
end
|
63
|
-
end
|
64
|
-
|
65
|
-
# Show invalid properties with the reasons. Usually used together with valid?
|
66
|
-
# @return Array for valid properties with the reasons
|
67
|
-
def list_invalid_properties
|
68
|
-
invalid_properties = Array.new
|
69
|
-
invalid_properties
|
70
|
-
end
|
71
|
-
|
72
|
-
# Check to see if the all the properties in the model are valid
|
73
|
-
# @return true if the model is valid
|
74
|
-
def valid?
|
75
|
-
true
|
76
|
-
end
|
77
|
-
|
78
|
-
# Checks equality by comparing each attribute.
|
79
|
-
# @param [Object] Object to be compared
|
80
|
-
def ==(o)
|
81
|
-
return true if self.equal?(o)
|
82
|
-
self.class == o.class &&
|
83
|
-
partner_authorization_code == o.partner_authorization_code
|
84
|
-
end
|
85
|
-
|
86
|
-
# @see the `==` method
|
87
|
-
# @param [Object] Object to be compared
|
88
|
-
def eql?(o)
|
89
|
-
self == o
|
90
|
-
end
|
91
|
-
|
92
|
-
# Calculates hash code according to all attributes.
|
93
|
-
# @return [Integer] Hash code
|
94
|
-
def hash
|
95
|
-
[partner_authorization_code].hash
|
96
|
-
end
|
97
|
-
|
98
|
-
# Builds the object from hash
|
99
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
100
|
-
# @return [Object] Returns the model itself
|
101
|
-
def self.build_from_hash(attributes)
|
102
|
-
new.build_from_hash(attributes)
|
103
|
-
end
|
104
|
-
|
105
|
-
# Builds the object from hash
|
106
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
107
|
-
# @return [Object] Returns the model itself
|
108
|
-
def build_from_hash(attributes)
|
109
|
-
return nil unless attributes.is_a?(Hash)
|
110
|
-
self.class.openapi_types.each_pair do |key, type|
|
111
|
-
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
112
|
-
self.send("#{key}=", nil)
|
113
|
-
elsif type =~ /\AArray<(.*)>/i
|
114
|
-
# check to ensure the input is an array given that the attribute
|
115
|
-
# is documented as an array but the input is not
|
116
|
-
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
117
|
-
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
118
|
-
end
|
119
|
-
elsif !attributes[self.class.attribute_map[key]].nil?
|
120
|
-
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
121
|
-
end
|
122
|
-
end
|
123
|
-
|
124
|
-
self
|
125
|
-
end
|
126
|
-
|
127
|
-
# Deserializes the data based on type
|
128
|
-
# @param string type Data type
|
129
|
-
# @param string value Value to be deserialized
|
130
|
-
# @return [Object] Deserialized data
|
131
|
-
def _deserialize(type, value)
|
132
|
-
case type.to_sym
|
133
|
-
when :Time
|
134
|
-
Time.parse(value)
|
135
|
-
when :Date
|
136
|
-
Date.parse(value)
|
137
|
-
when :String
|
138
|
-
value.to_s
|
139
|
-
when :Integer
|
140
|
-
value.to_i
|
141
|
-
when :Float
|
142
|
-
value.to_f
|
143
|
-
when :Boolean
|
144
|
-
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
145
|
-
true
|
146
|
-
else
|
147
|
-
false
|
148
|
-
end
|
149
|
-
when :Object
|
150
|
-
# generic object (usually a Hash), return directly
|
151
|
-
value
|
152
|
-
when /\AArray<(?<inner_type>.+)>\z/
|
153
|
-
inner_type = Regexp.last_match[:inner_type]
|
154
|
-
value.map { |v| _deserialize(inner_type, v) }
|
155
|
-
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
156
|
-
k_type = Regexp.last_match[:k_type]
|
157
|
-
v_type = Regexp.last_match[:v_type]
|
158
|
-
{}.tap do |hash|
|
159
|
-
value.each do |k, v|
|
160
|
-
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
161
|
-
end
|
162
|
-
end
|
163
|
-
else # model
|
164
|
-
# models (e.g. Pet) or oneOf
|
165
|
-
klass = MxPlatformRuby.const_get(type)
|
166
|
-
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
167
|
-
end
|
168
|
-
end
|
169
|
-
|
170
|
-
# Returns the string representation of the object
|
171
|
-
# @return [String] String presentation of the object
|
172
|
-
def to_s
|
173
|
-
to_hash.to_s
|
174
|
-
end
|
175
|
-
|
176
|
-
# to_body is an alias to to_hash (backward compatibility)
|
177
|
-
# @return [Hash] Returns the object in the form of hash
|
178
|
-
def to_body
|
179
|
-
to_hash
|
180
|
-
end
|
181
|
-
|
182
|
-
# Returns the object in the form of hash
|
183
|
-
# @return [Hash] Returns the object in the form of hash
|
184
|
-
def to_hash
|
185
|
-
hash = {}
|
186
|
-
self.class.attribute_map.each_pair do |attr, param|
|
187
|
-
value = self.send(attr)
|
188
|
-
if value.nil?
|
189
|
-
is_nullable = self.class.openapi_nullable.include?(attr)
|
190
|
-
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
191
|
-
end
|
192
|
-
|
193
|
-
hash[param] = _to_hash(value)
|
194
|
-
end
|
195
|
-
hash
|
196
|
-
end
|
197
|
-
|
198
|
-
# Outputs non-array value in the form of hash
|
199
|
-
# For object, use to_hash. Otherwise, just return the value
|
200
|
-
# @param [Object] value Any valid value
|
201
|
-
# @return [Hash] Returns the value in the form of hash
|
202
|
-
def _to_hash(value)
|
203
|
-
if value.is_a?(Array)
|
204
|
-
value.compact.map { |v| _to_hash(v) }
|
205
|
-
elsif value.is_a?(Hash)
|
206
|
-
{}.tap do |hash|
|
207
|
-
value.each { |k, v| hash[k] = _to_hash(v) }
|
208
|
-
end
|
209
|
-
elsif value.respond_to? :to_hash
|
210
|
-
value.to_hash
|
211
|
-
else
|
212
|
-
value
|
213
|
-
end
|
214
|
-
end
|
215
|
-
|
216
|
-
end
|
217
|
-
|
218
|
-
end
|
@@ -1,239 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#MX Platform API
|
3
|
-
|
4
|
-
#The MX Platform API is a powerful, fully-featured API designed to make aggregating and enhancing financial data easy and reliable. It can seamlessly connect your app or website to tens of thousands of financial institutions.
|
5
|
-
|
6
|
-
The version of the OpenAPI document: 0.1.0
|
7
|
-
|
8
|
-
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.4.0
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'date'
|
14
|
-
require 'time'
|
15
|
-
|
16
|
-
module MxPlatformRuby
|
17
|
-
class PartnerTokenResponseBody
|
18
|
-
attr_accessor :access_token
|
19
|
-
|
20
|
-
attr_accessor :scope
|
21
|
-
|
22
|
-
attr_accessor :token_type
|
23
|
-
|
24
|
-
# Attribute mapping from ruby-style variable name to JSON key.
|
25
|
-
def self.attribute_map
|
26
|
-
{
|
27
|
-
:'access_token' => :'access_token',
|
28
|
-
:'scope' => :'scope',
|
29
|
-
:'token_type' => :'token_type'
|
30
|
-
}
|
31
|
-
end
|
32
|
-
|
33
|
-
# Returns all the JSON keys this model knows about
|
34
|
-
def self.acceptable_attributes
|
35
|
-
attribute_map.values
|
36
|
-
end
|
37
|
-
|
38
|
-
# Attribute type mapping.
|
39
|
-
def self.openapi_types
|
40
|
-
{
|
41
|
-
:'access_token' => :'String',
|
42
|
-
:'scope' => :'String',
|
43
|
-
:'token_type' => :'String'
|
44
|
-
}
|
45
|
-
end
|
46
|
-
|
47
|
-
# List of attributes with nullable: true
|
48
|
-
def self.openapi_nullable
|
49
|
-
Set.new([
|
50
|
-
:'access_token',
|
51
|
-
:'scope',
|
52
|
-
:'token_type'
|
53
|
-
])
|
54
|
-
end
|
55
|
-
|
56
|
-
# Initializes the object
|
57
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
58
|
-
def initialize(attributes = {})
|
59
|
-
if (!attributes.is_a?(Hash))
|
60
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `MxPlatformRuby::PartnerTokenResponseBody` initialize method"
|
61
|
-
end
|
62
|
-
|
63
|
-
# check to see if the attribute exists and convert string to symbol for hash key
|
64
|
-
attributes = attributes.each_with_object({}) { |(k, v), h|
|
65
|
-
if (!self.class.attribute_map.key?(k.to_sym))
|
66
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `MxPlatformRuby::PartnerTokenResponseBody`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
67
|
-
end
|
68
|
-
h[k.to_sym] = v
|
69
|
-
}
|
70
|
-
|
71
|
-
if attributes.key?(:'access_token')
|
72
|
-
self.access_token = attributes[:'access_token']
|
73
|
-
end
|
74
|
-
|
75
|
-
if attributes.key?(:'scope')
|
76
|
-
self.scope = attributes[:'scope']
|
77
|
-
end
|
78
|
-
|
79
|
-
if attributes.key?(:'token_type')
|
80
|
-
self.token_type = attributes[:'token_type']
|
81
|
-
end
|
82
|
-
end
|
83
|
-
|
84
|
-
# Show invalid properties with the reasons. Usually used together with valid?
|
85
|
-
# @return Array for valid properties with the reasons
|
86
|
-
def list_invalid_properties
|
87
|
-
invalid_properties = Array.new
|
88
|
-
invalid_properties
|
89
|
-
end
|
90
|
-
|
91
|
-
# Check to see if the all the properties in the model are valid
|
92
|
-
# @return true if the model is valid
|
93
|
-
def valid?
|
94
|
-
true
|
95
|
-
end
|
96
|
-
|
97
|
-
# Checks equality by comparing each attribute.
|
98
|
-
# @param [Object] Object to be compared
|
99
|
-
def ==(o)
|
100
|
-
return true if self.equal?(o)
|
101
|
-
self.class == o.class &&
|
102
|
-
access_token == o.access_token &&
|
103
|
-
scope == o.scope &&
|
104
|
-
token_type == o.token_type
|
105
|
-
end
|
106
|
-
|
107
|
-
# @see the `==` method
|
108
|
-
# @param [Object] Object to be compared
|
109
|
-
def eql?(o)
|
110
|
-
self == o
|
111
|
-
end
|
112
|
-
|
113
|
-
# Calculates hash code according to all attributes.
|
114
|
-
# @return [Integer] Hash code
|
115
|
-
def hash
|
116
|
-
[access_token, scope, token_type].hash
|
117
|
-
end
|
118
|
-
|
119
|
-
# Builds the object from hash
|
120
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
121
|
-
# @return [Object] Returns the model itself
|
122
|
-
def self.build_from_hash(attributes)
|
123
|
-
new.build_from_hash(attributes)
|
124
|
-
end
|
125
|
-
|
126
|
-
# Builds the object from hash
|
127
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
128
|
-
# @return [Object] Returns the model itself
|
129
|
-
def build_from_hash(attributes)
|
130
|
-
return nil unless attributes.is_a?(Hash)
|
131
|
-
self.class.openapi_types.each_pair do |key, type|
|
132
|
-
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
133
|
-
self.send("#{key}=", nil)
|
134
|
-
elsif type =~ /\AArray<(.*)>/i
|
135
|
-
# check to ensure the input is an array given that the attribute
|
136
|
-
# is documented as an array but the input is not
|
137
|
-
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
138
|
-
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
139
|
-
end
|
140
|
-
elsif !attributes[self.class.attribute_map[key]].nil?
|
141
|
-
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
142
|
-
end
|
143
|
-
end
|
144
|
-
|
145
|
-
self
|
146
|
-
end
|
147
|
-
|
148
|
-
# Deserializes the data based on type
|
149
|
-
# @param string type Data type
|
150
|
-
# @param string value Value to be deserialized
|
151
|
-
# @return [Object] Deserialized data
|
152
|
-
def _deserialize(type, value)
|
153
|
-
case type.to_sym
|
154
|
-
when :Time
|
155
|
-
Time.parse(value)
|
156
|
-
when :Date
|
157
|
-
Date.parse(value)
|
158
|
-
when :String
|
159
|
-
value.to_s
|
160
|
-
when :Integer
|
161
|
-
value.to_i
|
162
|
-
when :Float
|
163
|
-
value.to_f
|
164
|
-
when :Boolean
|
165
|
-
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
166
|
-
true
|
167
|
-
else
|
168
|
-
false
|
169
|
-
end
|
170
|
-
when :Object
|
171
|
-
# generic object (usually a Hash), return directly
|
172
|
-
value
|
173
|
-
when /\AArray<(?<inner_type>.+)>\z/
|
174
|
-
inner_type = Regexp.last_match[:inner_type]
|
175
|
-
value.map { |v| _deserialize(inner_type, v) }
|
176
|
-
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
177
|
-
k_type = Regexp.last_match[:k_type]
|
178
|
-
v_type = Regexp.last_match[:v_type]
|
179
|
-
{}.tap do |hash|
|
180
|
-
value.each do |k, v|
|
181
|
-
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
182
|
-
end
|
183
|
-
end
|
184
|
-
else # model
|
185
|
-
# models (e.g. Pet) or oneOf
|
186
|
-
klass = MxPlatformRuby.const_get(type)
|
187
|
-
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
188
|
-
end
|
189
|
-
end
|
190
|
-
|
191
|
-
# Returns the string representation of the object
|
192
|
-
# @return [String] String presentation of the object
|
193
|
-
def to_s
|
194
|
-
to_hash.to_s
|
195
|
-
end
|
196
|
-
|
197
|
-
# to_body is an alias to to_hash (backward compatibility)
|
198
|
-
# @return [Hash] Returns the object in the form of hash
|
199
|
-
def to_body
|
200
|
-
to_hash
|
201
|
-
end
|
202
|
-
|
203
|
-
# Returns the object in the form of hash
|
204
|
-
# @return [Hash] Returns the object in the form of hash
|
205
|
-
def to_hash
|
206
|
-
hash = {}
|
207
|
-
self.class.attribute_map.each_pair do |attr, param|
|
208
|
-
value = self.send(attr)
|
209
|
-
if value.nil?
|
210
|
-
is_nullable = self.class.openapi_nullable.include?(attr)
|
211
|
-
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
212
|
-
end
|
213
|
-
|
214
|
-
hash[param] = _to_hash(value)
|
215
|
-
end
|
216
|
-
hash
|
217
|
-
end
|
218
|
-
|
219
|
-
# Outputs non-array value in the form of hash
|
220
|
-
# For object, use to_hash. Otherwise, just return the value
|
221
|
-
# @param [Object] value Any valid value
|
222
|
-
# @return [Hash] Returns the value in the form of hash
|
223
|
-
def _to_hash(value)
|
224
|
-
if value.is_a?(Array)
|
225
|
-
value.compact.map { |v| _to_hash(v) }
|
226
|
-
elsif value.is_a?(Hash)
|
227
|
-
{}.tap do |hash|
|
228
|
-
value.each { |k, v| hash[k] = _to_hash(v) }
|
229
|
-
end
|
230
|
-
elsif value.respond_to? :to_hash
|
231
|
-
value.to_hash
|
232
|
-
else
|
233
|
-
value
|
234
|
-
end
|
235
|
-
end
|
236
|
-
|
237
|
-
end
|
238
|
-
|
239
|
-
end
|
@@ -1,34 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#MX Platform API
|
3
|
-
|
4
|
-
#The MX Platform API is a powerful, fully-featured API designed to make aggregating and enhancing financial data easy and reliable. It can seamlessly connect your app or website to tens of thousands of financial institutions.
|
5
|
-
|
6
|
-
The version of the OpenAPI document: 0.1.0
|
7
|
-
|
8
|
-
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.4.0
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'spec_helper'
|
14
|
-
require 'json'
|
15
|
-
require 'date'
|
16
|
-
|
17
|
-
# Unit tests for MxPlatformRuby::PartnerAccountResponseBody
|
18
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
-
# Please update as you see appropriate
|
20
|
-
describe MxPlatformRuby::PartnerAccountResponseBody do
|
21
|
-
let(:instance) { MxPlatformRuby::PartnerAccountResponseBody.new }
|
22
|
-
|
23
|
-
describe 'test an instance of PartnerAccountResponseBody' do
|
24
|
-
it 'should create an instance of PartnerAccountResponseBody' do
|
25
|
-
expect(instance).to be_instance_of(MxPlatformRuby::PartnerAccountResponseBody)
|
26
|
-
end
|
27
|
-
end
|
28
|
-
describe 'test attribute "partner_account"' do
|
29
|
-
it 'should work' do
|
30
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
31
|
-
end
|
32
|
-
end
|
33
|
-
|
34
|
-
end
|
@@ -1,70 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#MX Platform API
|
3
|
-
|
4
|
-
#The MX Platform API is a powerful, fully-featured API designed to make aggregating and enhancing financial data easy and reliable. It can seamlessly connect your app or website to tens of thousands of financial institutions.
|
5
|
-
|
6
|
-
The version of the OpenAPI document: 0.1.0
|
7
|
-
|
8
|
-
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.4.0
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'spec_helper'
|
14
|
-
require 'json'
|
15
|
-
require 'date'
|
16
|
-
|
17
|
-
# Unit tests for MxPlatformRuby::PartnerAccountResponse
|
18
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
-
# Please update as you see appropriate
|
20
|
-
describe MxPlatformRuby::PartnerAccountResponse do
|
21
|
-
let(:instance) { MxPlatformRuby::PartnerAccountResponse.new }
|
22
|
-
|
23
|
-
describe 'test an instance of PartnerAccountResponse' do
|
24
|
-
it 'should create an instance of PartnerAccountResponse' do
|
25
|
-
expect(instance).to be_instance_of(MxPlatformRuby::PartnerAccountResponse)
|
26
|
-
end
|
27
|
-
end
|
28
|
-
describe 'test attribute "account_name"' do
|
29
|
-
it 'should work' do
|
30
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
31
|
-
end
|
32
|
-
end
|
33
|
-
|
34
|
-
describe 'test attribute "account_number"' do
|
35
|
-
it 'should work' do
|
36
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
37
|
-
end
|
38
|
-
end
|
39
|
-
|
40
|
-
describe 'test attribute "account_type"' do
|
41
|
-
it 'should work' do
|
42
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
43
|
-
end
|
44
|
-
end
|
45
|
-
|
46
|
-
describe 'test attribute "available_balance"' do
|
47
|
-
it 'should work' do
|
48
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
49
|
-
end
|
50
|
-
end
|
51
|
-
|
52
|
-
describe 'test attribute "balance"' do
|
53
|
-
it 'should work' do
|
54
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
55
|
-
end
|
56
|
-
end
|
57
|
-
|
58
|
-
describe 'test attribute "routing_number"' do
|
59
|
-
it 'should work' do
|
60
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
61
|
-
end
|
62
|
-
end
|
63
|
-
|
64
|
-
describe 'test attribute "transit_number"' do
|
65
|
-
it 'should work' do
|
66
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
67
|
-
end
|
68
|
-
end
|
69
|
-
|
70
|
-
end
|
@@ -1,34 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#MX Platform API
|
3
|
-
|
4
|
-
#The MX Platform API is a powerful, fully-featured API designed to make aggregating and enhancing financial data easy and reliable. It can seamlessly connect your app or website to tens of thousands of financial institutions.
|
5
|
-
|
6
|
-
The version of the OpenAPI document: 0.1.0
|
7
|
-
|
8
|
-
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.4.0
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'spec_helper'
|
14
|
-
require 'json'
|
15
|
-
require 'date'
|
16
|
-
|
17
|
-
# Unit tests for MxPlatformRuby::PartnerAuthorizationCodeRequestBody
|
18
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
-
# Please update as you see appropriate
|
20
|
-
describe MxPlatformRuby::PartnerAuthorizationCodeRequestBody do
|
21
|
-
let(:instance) { MxPlatformRuby::PartnerAuthorizationCodeRequestBody.new }
|
22
|
-
|
23
|
-
describe 'test an instance of PartnerAuthorizationCodeRequestBody' do
|
24
|
-
it 'should create an instance of PartnerAuthorizationCodeRequestBody' do
|
25
|
-
expect(instance).to be_instance_of(MxPlatformRuby::PartnerAuthorizationCodeRequestBody)
|
26
|
-
end
|
27
|
-
end
|
28
|
-
describe 'test attribute "partner_authorization_code"' do
|
29
|
-
it 'should work' do
|
30
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
31
|
-
end
|
32
|
-
end
|
33
|
-
|
34
|
-
end
|
@@ -1,46 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#MX Platform API
|
3
|
-
|
4
|
-
#The MX Platform API is a powerful, fully-featured API designed to make aggregating and enhancing financial data easy and reliable. It can seamlessly connect your app or website to tens of thousands of financial institutions.
|
5
|
-
|
6
|
-
The version of the OpenAPI document: 0.1.0
|
7
|
-
|
8
|
-
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.4.0
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'spec_helper'
|
14
|
-
require 'json'
|
15
|
-
require 'date'
|
16
|
-
|
17
|
-
# Unit tests for MxPlatformRuby::PartnerAuthorizationCodeRequest
|
18
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
-
# Please update as you see appropriate
|
20
|
-
describe MxPlatformRuby::PartnerAuthorizationCodeRequest do
|
21
|
-
let(:instance) { MxPlatformRuby::PartnerAuthorizationCodeRequest.new }
|
22
|
-
|
23
|
-
describe 'test an instance of PartnerAuthorizationCodeRequest' do
|
24
|
-
it 'should create an instance of PartnerAuthorizationCodeRequest' do
|
25
|
-
expect(instance).to be_instance_of(MxPlatformRuby::PartnerAuthorizationCodeRequest)
|
26
|
-
end
|
27
|
-
end
|
28
|
-
describe 'test attribute "account_guid"' do
|
29
|
-
it 'should work' do
|
30
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
31
|
-
end
|
32
|
-
end
|
33
|
-
|
34
|
-
describe 'test attribute "member_guid"' do
|
35
|
-
it 'should work' do
|
36
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
37
|
-
end
|
38
|
-
end
|
39
|
-
|
40
|
-
describe 'test attribute "user_guid"' do
|
41
|
-
it 'should work' do
|
42
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
43
|
-
end
|
44
|
-
end
|
45
|
-
|
46
|
-
end
|
@@ -1,34 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#MX Platform API
|
3
|
-
|
4
|
-
#The MX Platform API is a powerful, fully-featured API designed to make aggregating and enhancing financial data easy and reliable. It can seamlessly connect your app or website to tens of thousands of financial institutions.
|
5
|
-
|
6
|
-
The version of the OpenAPI document: 0.1.0
|
7
|
-
|
8
|
-
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.4.0
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'spec_helper'
|
14
|
-
require 'json'
|
15
|
-
require 'date'
|
16
|
-
|
17
|
-
# Unit tests for MxPlatformRuby::PartnerAuthorizationCodeResponseBody
|
18
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
-
# Please update as you see appropriate
|
20
|
-
describe MxPlatformRuby::PartnerAuthorizationCodeResponseBody do
|
21
|
-
let(:instance) { MxPlatformRuby::PartnerAuthorizationCodeResponseBody.new }
|
22
|
-
|
23
|
-
describe 'test an instance of PartnerAuthorizationCodeResponseBody' do
|
24
|
-
it 'should create an instance of PartnerAuthorizationCodeResponseBody' do
|
25
|
-
expect(instance).to be_instance_of(MxPlatformRuby::PartnerAuthorizationCodeResponseBody)
|
26
|
-
end
|
27
|
-
end
|
28
|
-
describe 'test attribute "partner_authorization_code"' do
|
29
|
-
it 'should work' do
|
30
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
31
|
-
end
|
32
|
-
end
|
33
|
-
|
34
|
-
end
|