mx-platform-ruby 0.16.0 → 0.18.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,228 @@
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 AccountCreateRequestBody
18
+ attr_accessor :skip_webhook
19
+
20
+ attr_accessor :account
21
+
22
+ # Attribute mapping from ruby-style variable name to JSON key.
23
+ def self.attribute_map
24
+ {
25
+ :'skip_webhook' => :'skip_webhook',
26
+ :'account' => :'account'
27
+ }
28
+ end
29
+
30
+ # Returns all the JSON keys this model knows about
31
+ def self.acceptable_attributes
32
+ attribute_map.values
33
+ end
34
+
35
+ # Attribute type mapping.
36
+ def self.openapi_types
37
+ {
38
+ :'skip_webhook' => :'Boolean',
39
+ :'account' => :'AccountCreateRequest'
40
+ }
41
+ end
42
+
43
+ # List of attributes with nullable: true
44
+ def self.openapi_nullable
45
+ Set.new([
46
+ :'skip_webhook',
47
+ ])
48
+ end
49
+
50
+ # Initializes the object
51
+ # @param [Hash] attributes Model attributes in the form of hash
52
+ def initialize(attributes = {})
53
+ if (!attributes.is_a?(Hash))
54
+ fail ArgumentError, "The input argument (attributes) must be a hash in `MxPlatformRuby::AccountCreateRequestBody` initialize method"
55
+ end
56
+
57
+ # check to see if the attribute exists and convert string to symbol for hash key
58
+ attributes = attributes.each_with_object({}) { |(k, v), h|
59
+ if (!self.class.attribute_map.key?(k.to_sym))
60
+ fail ArgumentError, "`#{k}` is not a valid attribute in `MxPlatformRuby::AccountCreateRequestBody`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
61
+ end
62
+ h[k.to_sym] = v
63
+ }
64
+
65
+ if attributes.key?(:'skip_webhook')
66
+ self.skip_webhook = attributes[:'skip_webhook']
67
+ end
68
+
69
+ if attributes.key?(:'account')
70
+ self.account = attributes[:'account']
71
+ end
72
+ end
73
+
74
+ # Show invalid properties with the reasons. Usually used together with valid?
75
+ # @return Array for valid properties with the reasons
76
+ def list_invalid_properties
77
+ invalid_properties = Array.new
78
+ invalid_properties
79
+ end
80
+
81
+ # Check to see if the all the properties in the model are valid
82
+ # @return true if the model is valid
83
+ def valid?
84
+ true
85
+ end
86
+
87
+ # Checks equality by comparing each attribute.
88
+ # @param [Object] Object to be compared
89
+ def ==(o)
90
+ return true if self.equal?(o)
91
+ self.class == o.class &&
92
+ skip_webhook == o.skip_webhook &&
93
+ account == o.account
94
+ end
95
+
96
+ # @see the `==` method
97
+ # @param [Object] Object to be compared
98
+ def eql?(o)
99
+ self == o
100
+ end
101
+
102
+ # Calculates hash code according to all attributes.
103
+ # @return [Integer] Hash code
104
+ def hash
105
+ [skip_webhook, account].hash
106
+ end
107
+
108
+ # Builds the object from hash
109
+ # @param [Hash] attributes Model attributes in the form of hash
110
+ # @return [Object] Returns the model itself
111
+ def self.build_from_hash(attributes)
112
+ new.build_from_hash(attributes)
113
+ end
114
+
115
+ # Builds the object from hash
116
+ # @param [Hash] attributes Model attributes in the form of hash
117
+ # @return [Object] Returns the model itself
118
+ def build_from_hash(attributes)
119
+ return nil unless attributes.is_a?(Hash)
120
+ self.class.openapi_types.each_pair do |key, type|
121
+ if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
122
+ self.send("#{key}=", nil)
123
+ elsif type =~ /\AArray<(.*)>/i
124
+ # check to ensure the input is an array given that the attribute
125
+ # is documented as an array but the input is not
126
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
127
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
128
+ end
129
+ elsif !attributes[self.class.attribute_map[key]].nil?
130
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
131
+ end
132
+ end
133
+
134
+ self
135
+ end
136
+
137
+ # Deserializes the data based on type
138
+ # @param string type Data type
139
+ # @param string value Value to be deserialized
140
+ # @return [Object] Deserialized data
141
+ def _deserialize(type, value)
142
+ case type.to_sym
143
+ when :Time
144
+ Time.parse(value)
145
+ when :Date
146
+ Date.parse(value)
147
+ when :String
148
+ value.to_s
149
+ when :Integer
150
+ value.to_i
151
+ when :Float
152
+ value.to_f
153
+ when :Boolean
154
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
155
+ true
156
+ else
157
+ false
158
+ end
159
+ when :Object
160
+ # generic object (usually a Hash), return directly
161
+ value
162
+ when /\AArray<(?<inner_type>.+)>\z/
163
+ inner_type = Regexp.last_match[:inner_type]
164
+ value.map { |v| _deserialize(inner_type, v) }
165
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
166
+ k_type = Regexp.last_match[:k_type]
167
+ v_type = Regexp.last_match[:v_type]
168
+ {}.tap do |hash|
169
+ value.each do |k, v|
170
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
171
+ end
172
+ end
173
+ else # model
174
+ # models (e.g. Pet) or oneOf
175
+ klass = MxPlatformRuby.const_get(type)
176
+ klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
177
+ end
178
+ end
179
+
180
+ # Returns the string representation of the object
181
+ # @return [String] String presentation of the object
182
+ def to_s
183
+ to_hash.to_s
184
+ end
185
+
186
+ # to_body is an alias to to_hash (backward compatibility)
187
+ # @return [Hash] Returns the object in the form of hash
188
+ def to_body
189
+ to_hash
190
+ end
191
+
192
+ # Returns the object in the form of hash
193
+ # @return [Hash] Returns the object in the form of hash
194
+ def to_hash
195
+ hash = {}
196
+ self.class.attribute_map.each_pair do |attr, param|
197
+ value = self.send(attr)
198
+ if value.nil?
199
+ is_nullable = self.class.openapi_nullable.include?(attr)
200
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
201
+ end
202
+
203
+ hash[param] = _to_hash(value)
204
+ end
205
+ hash
206
+ end
207
+
208
+ # Outputs non-array value in the form of hash
209
+ # For object, use to_hash. Otherwise, just return the value
210
+ # @param [Object] value Any valid value
211
+ # @return [Hash] Returns the value in the form of hash
212
+ def _to_hash(value)
213
+ if value.is_a?(Array)
214
+ value.compact.map { |v| _to_hash(v) }
215
+ elsif value.is_a?(Hash)
216
+ {}.tap do |hash|
217
+ value.each { |k, v| hash[k] = _to_hash(v) }
218
+ end
219
+ elsif value.respond_to? :to_hash
220
+ value.to_hash
221
+ else
222
+ value
223
+ end
224
+ end
225
+
226
+ end
227
+
228
+ end
@@ -55,10 +55,14 @@ module MxPlatformRuby
55
55
 
56
56
  attr_accessor :interest_rate
57
57
 
58
+ attr_accessor :is_business
59
+
58
60
  attr_accessor :is_closed
59
61
 
60
62
  attr_accessor :is_hidden
61
63
 
64
+ attr_accessor :is_manual
65
+
62
66
  attr_accessor :last_payment
63
67
 
64
68
  attr_accessor :last_payment_at
@@ -93,6 +97,8 @@ module MxPlatformRuby
93
97
 
94
98
  attr_accessor :premium_amount
95
99
 
100
+ attr_accessor :property_type
101
+
96
102
  attr_accessor :routing_number
97
103
 
98
104
  attr_accessor :started_on
@@ -132,8 +138,10 @@ module MxPlatformRuby
132
138
  :'institution_code' => :'institution_code',
133
139
  :'insured_name' => :'insured_name',
134
140
  :'interest_rate' => :'interest_rate',
141
+ :'is_business' => :'is_business',
135
142
  :'is_closed' => :'is_closed',
136
143
  :'is_hidden' => :'is_hidden',
144
+ :'is_manual' => :'is_manual',
137
145
  :'last_payment' => :'last_payment',
138
146
  :'last_payment_at' => :'last_payment_at',
139
147
  :'loan_amount' => :'loan_amount',
@@ -151,6 +159,7 @@ module MxPlatformRuby
151
159
  :'payment_due_at' => :'payment_due_at',
152
160
  :'payoff_balance' => :'payoff_balance',
153
161
  :'premium_amount' => :'premium_amount',
162
+ :'property_type' => :'property_type',
154
163
  :'routing_number' => :'routing_number',
155
164
  :'started_on' => :'started_on',
156
165
  :'subtype' => :'subtype',
@@ -190,8 +199,10 @@ module MxPlatformRuby
190
199
  :'institution_code' => :'String',
191
200
  :'insured_name' => :'String',
192
201
  :'interest_rate' => :'Float',
202
+ :'is_business' => :'Boolean',
193
203
  :'is_closed' => :'Boolean',
194
204
  :'is_hidden' => :'Boolean',
205
+ :'is_manual' => :'Boolean',
195
206
  :'last_payment' => :'Float',
196
207
  :'last_payment_at' => :'String',
197
208
  :'loan_amount' => :'Float',
@@ -209,6 +220,7 @@ module MxPlatformRuby
209
220
  :'payment_due_at' => :'String',
210
221
  :'payoff_balance' => :'Float',
211
222
  :'premium_amount' => :'Float',
223
+ :'property_type' => :'String',
212
224
  :'routing_number' => :'String',
213
225
  :'started_on' => :'String',
214
226
  :'subtype' => :'String',
@@ -243,8 +255,10 @@ module MxPlatformRuby
243
255
  :'institution_code',
244
256
  :'insured_name',
245
257
  :'interest_rate',
258
+ :'is_business',
246
259
  :'is_closed',
247
260
  :'is_hidden',
261
+ :'is_manual',
248
262
  :'last_payment',
249
263
  :'last_payment_at',
250
264
  :'loan_amount',
@@ -262,6 +276,7 @@ module MxPlatformRuby
262
276
  :'payment_due_at',
263
277
  :'payoff_balance',
264
278
  :'premium_amount',
279
+ :'property_type',
265
280
  :'routing_number',
266
281
  :'started_on',
267
282
  :'subtype',
@@ -368,6 +383,10 @@ module MxPlatformRuby
368
383
  self.interest_rate = attributes[:'interest_rate']
369
384
  end
370
385
 
386
+ if attributes.key?(:'is_business')
387
+ self.is_business = attributes[:'is_business']
388
+ end
389
+
371
390
  if attributes.key?(:'is_closed')
372
391
  self.is_closed = attributes[:'is_closed']
373
392
  end
@@ -376,6 +395,10 @@ module MxPlatformRuby
376
395
  self.is_hidden = attributes[:'is_hidden']
377
396
  end
378
397
 
398
+ if attributes.key?(:'is_manual')
399
+ self.is_manual = attributes[:'is_manual']
400
+ end
401
+
379
402
  if attributes.key?(:'last_payment')
380
403
  self.last_payment = attributes[:'last_payment']
381
404
  end
@@ -444,6 +467,10 @@ module MxPlatformRuby
444
467
  self.premium_amount = attributes[:'premium_amount']
445
468
  end
446
469
 
470
+ if attributes.key?(:'property_type')
471
+ self.property_type = attributes[:'property_type']
472
+ end
473
+
447
474
  if attributes.key?(:'routing_number')
448
475
  self.routing_number = attributes[:'routing_number']
449
476
  end
@@ -515,8 +542,10 @@ module MxPlatformRuby
515
542
  institution_code == o.institution_code &&
516
543
  insured_name == o.insured_name &&
517
544
  interest_rate == o.interest_rate &&
545
+ is_business == o.is_business &&
518
546
  is_closed == o.is_closed &&
519
547
  is_hidden == o.is_hidden &&
548
+ is_manual == o.is_manual &&
520
549
  last_payment == o.last_payment &&
521
550
  last_payment_at == o.last_payment_at &&
522
551
  loan_amount == o.loan_amount &&
@@ -534,6 +563,7 @@ module MxPlatformRuby
534
563
  payment_due_at == o.payment_due_at &&
535
564
  payoff_balance == o.payoff_balance &&
536
565
  premium_amount == o.premium_amount &&
566
+ property_type == o.property_type &&
537
567
  routing_number == o.routing_number &&
538
568
  started_on == o.started_on &&
539
569
  subtype == o.subtype &&
@@ -553,7 +583,7 @@ module MxPlatformRuby
553
583
  # Calculates hash code according to all attributes.
554
584
  # @return [Integer] Hash code
555
585
  def hash
556
- [account_number, apr, apy, available_balance, available_credit, balance, cash_balance, cash_surrender_value, created_at, credit_limit, currency_code, day_payment_is_due, death_benefit, guid, holdings_value, id, imported_at, institution_code, insured_name, interest_rate, is_closed, is_hidden, last_payment, last_payment_at, loan_amount, matures_on, member_guid, member_id, member_is_managed_by_user, metadata, minimum_balance, minimum_payment, name, nickname, original_balance, pay_out_amount, payment_due_at, payoff_balance, premium_amount, routing_number, started_on, subtype, total_account_value, type, updated_at, user_guid, user_id].hash
586
+ [account_number, apr, apy, available_balance, available_credit, balance, cash_balance, cash_surrender_value, created_at, credit_limit, currency_code, day_payment_is_due, death_benefit, guid, holdings_value, id, imported_at, institution_code, insured_name, interest_rate, is_business, is_closed, is_hidden, is_manual, last_payment, last_payment_at, loan_amount, matures_on, member_guid, member_id, member_is_managed_by_user, metadata, minimum_balance, minimum_payment, name, nickname, original_balance, pay_out_amount, payment_due_at, payoff_balance, premium_amount, property_type, routing_number, started_on, subtype, total_account_value, type, updated_at, user_guid, user_id].hash
557
587
  end
558
588
 
559
589
  # Builds the object from hash
@@ -17,6 +17,10 @@ module MxPlatformRuby
17
17
  class InstitutionResponse
18
18
  attr_accessor :code
19
19
 
20
+ attr_accessor :forgot_password_url
21
+
22
+ attr_accessor :forgot_username_url
23
+
20
24
  attr_accessor :instructional_text
21
25
 
22
26
  attr_accessor :medium_logo_url
@@ -35,12 +39,16 @@ module MxPlatformRuby
35
39
 
36
40
  attr_accessor :supports_transaction_history
37
41
 
42
+ attr_accessor :trouble_signing_in_url
43
+
38
44
  attr_accessor :url
39
45
 
40
46
  # Attribute mapping from ruby-style variable name to JSON key.
41
47
  def self.attribute_map
42
48
  {
43
49
  :'code' => :'code',
50
+ :'forgot_password_url' => :'forgot_password_url',
51
+ :'forgot_username_url' => :'forgot_username_url',
44
52
  :'instructional_text' => :'instructional_text',
45
53
  :'medium_logo_url' => :'medium_logo_url',
46
54
  :'name' => :'name',
@@ -50,6 +58,7 @@ module MxPlatformRuby
50
58
  :'supports_account_verification' => :'supports_account_verification',
51
59
  :'supports_oauth' => :'supports_oauth',
52
60
  :'supports_transaction_history' => :'supports_transaction_history',
61
+ :'trouble_signing_in_url' => :'trouble_signing_in_url',
53
62
  :'url' => :'url'
54
63
  }
55
64
  end
@@ -63,6 +72,8 @@ module MxPlatformRuby
63
72
  def self.openapi_types
64
73
  {
65
74
  :'code' => :'String',
75
+ :'forgot_password_url' => :'String',
76
+ :'forgot_username_url' => :'String',
66
77
  :'instructional_text' => :'String',
67
78
  :'medium_logo_url' => :'String',
68
79
  :'name' => :'String',
@@ -72,6 +83,7 @@ module MxPlatformRuby
72
83
  :'supports_account_verification' => :'Boolean',
73
84
  :'supports_oauth' => :'Boolean',
74
85
  :'supports_transaction_history' => :'Boolean',
86
+ :'trouble_signing_in_url' => :'String',
75
87
  :'url' => :'String'
76
88
  }
77
89
  end
@@ -80,6 +92,8 @@ module MxPlatformRuby
80
92
  def self.openapi_nullable
81
93
  Set.new([
82
94
  :'code',
95
+ :'forgot_password_url',
96
+ :'forgot_username_url',
83
97
  :'instructional_text',
84
98
  :'medium_logo_url',
85
99
  :'name',
@@ -89,6 +103,7 @@ module MxPlatformRuby
89
103
  :'supports_account_verification',
90
104
  :'supports_oauth',
91
105
  :'supports_transaction_history',
106
+ :'trouble_signing_in_url',
92
107
  :'url'
93
108
  ])
94
109
  end
@@ -112,6 +127,14 @@ module MxPlatformRuby
112
127
  self.code = attributes[:'code']
113
128
  end
114
129
 
130
+ if attributes.key?(:'forgot_password_url')
131
+ self.forgot_password_url = attributes[:'forgot_password_url']
132
+ end
133
+
134
+ if attributes.key?(:'forgot_username_url')
135
+ self.forgot_username_url = attributes[:'forgot_username_url']
136
+ end
137
+
115
138
  if attributes.key?(:'instructional_text')
116
139
  self.instructional_text = attributes[:'instructional_text']
117
140
  end
@@ -148,6 +171,10 @@ module MxPlatformRuby
148
171
  self.supports_transaction_history = attributes[:'supports_transaction_history']
149
172
  end
150
173
 
174
+ if attributes.key?(:'trouble_signing_in_url')
175
+ self.trouble_signing_in_url = attributes[:'trouble_signing_in_url']
176
+ end
177
+
151
178
  if attributes.key?(:'url')
152
179
  self.url = attributes[:'url']
153
180
  end
@@ -172,6 +199,8 @@ module MxPlatformRuby
172
199
  return true if self.equal?(o)
173
200
  self.class == o.class &&
174
201
  code == o.code &&
202
+ forgot_password_url == o.forgot_password_url &&
203
+ forgot_username_url == o.forgot_username_url &&
175
204
  instructional_text == o.instructional_text &&
176
205
  medium_logo_url == o.medium_logo_url &&
177
206
  name == o.name &&
@@ -181,6 +210,7 @@ module MxPlatformRuby
181
210
  supports_account_verification == o.supports_account_verification &&
182
211
  supports_oauth == o.supports_oauth &&
183
212
  supports_transaction_history == o.supports_transaction_history &&
213
+ trouble_signing_in_url == o.trouble_signing_in_url &&
184
214
  url == o.url
185
215
  end
186
216
 
@@ -193,7 +223,7 @@ module MxPlatformRuby
193
223
  # Calculates hash code according to all attributes.
194
224
  # @return [Integer] Hash code
195
225
  def hash
196
- [code, instructional_text, medium_logo_url, name, small_logo_url, supports_account_identification, supports_account_statement, supports_account_verification, supports_oauth, supports_transaction_history, url].hash
226
+ [code, forgot_password_url, forgot_username_url, instructional_text, medium_logo_url, name, small_logo_url, supports_account_identification, supports_account_statement, supports_account_verification, supports_oauth, supports_transaction_history, trouble_signing_in_url, url].hash
197
227
  end
198
228
 
199
229
  # Builds the object from hash
@@ -11,5 +11,5 @@ OpenAPI Generator version: 5.4.0
11
11
  =end
12
12
 
13
13
  module MxPlatformRuby
14
- VERSION = '0.16.0'
14
+ VERSION = '0.18.0'
15
15
  end
@@ -17,6 +17,8 @@ require 'mx-platform-ruby/version'
17
17
  require 'mx-platform-ruby/configuration'
18
18
 
19
19
  # Models
20
+ require 'mx-platform-ruby/models/account_create_request'
21
+ require 'mx-platform-ruby/models/account_create_request_body'
20
22
  require 'mx-platform-ruby/models/account_number_response'
21
23
  require 'mx-platform-ruby/models/account_numbers_response_body'
22
24
  require 'mx-platform-ruby/models/account_owner_response'
data/openapi/config.yml CHANGED
@@ -6,6 +6,6 @@ gemHomepage: https://github.com/mxenabled/mx-platform-ruby
6
6
  gemLicense: MIT
7
7
  gemName: mx-platform-ruby
8
8
  gemRequiredRubyVersion: ">= 2.6"
9
- gemVersion: 0.16.0
9
+ gemVersion: 0.18.0
10
10
  library: faraday
11
11
  moduleName: MxPlatformRuby
@@ -113,6 +113,19 @@ describe 'MxPlatformApi' do
113
113
  end
114
114
  end
115
115
 
116
+ # unit tests for create_manual_account
117
+ # Create manual account
118
+ # This endpoint can only be used to create manual accounts. Creating a manual account will automatically create it under the Manual Institution member. Since a manual account has no credentials tied to the member, the account will never aggregate or include data from a data feed..
119
+ # @param user_guid The unique id for a &#x60;user&#x60;.
120
+ # @param account_create_request_body Manual account object to be created.
121
+ # @param [Hash] opts the optional parameters
122
+ # @return [AccountResponseBody]
123
+ describe 'create_manual_account test' do
124
+ it 'should work' do
125
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
126
+ end
127
+ end
128
+
116
129
  # unit tests for create_member
117
130
  # Create member
118
131
  # This endpoint allows you to create a new member. Members are created with the required parameters credentials and institution_code, and the optional parameters id and metadata. When creating a member, youll need to include the correct type of credential required by the financial institution and provided by the user. You can find out which credential type is required with the &#x60;/institutions/{institution_code}/credentials&#x60; endpoint. If successful, the MX Platform API will respond with the newly-created member object. Once you successfully create a member, MX will immediately validate the provided credentials and attempt to aggregate data for accounts and transactions.
@@ -232,6 +245,19 @@ describe 'MxPlatformApi' do
232
245
  end
233
246
  end
234
247
 
248
+ # unit tests for delete_manual_account
249
+ # Delete manual account
250
+ # This endpoint deletes accounts that were manually created. The API will respond with an empty object and a status of &#x60;204 No Content&#x60;.
251
+ # @param account_guid The unique id for an &#x60;account&#x60;.
252
+ # @param user_guid The unique id for a &#x60;user&#x60;.
253
+ # @param [Hash] opts the optional parameters
254
+ # @return [nil]
255
+ describe 'delete_manual_account test' do
256
+ it 'should work' do
257
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
258
+ end
259
+ end
260
+
235
261
  # unit tests for delete_member
236
262
  # Delete member
237
263
  # Accessing this endpoint will permanently delete a member.
@@ -0,0 +1,40 @@
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::AccountCreateRequestBody
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe MxPlatformRuby::AccountCreateRequestBody do
21
+ let(:instance) { MxPlatformRuby::AccountCreateRequestBody.new }
22
+
23
+ describe 'test an instance of AccountCreateRequestBody' do
24
+ it 'should create an instance of AccountCreateRequestBody' do
25
+ expect(instance).to be_instance_of(MxPlatformRuby::AccountCreateRequestBody)
26
+ end
27
+ end
28
+ describe 'test attribute "skip_webhook"' 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"' 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
+ end