mx-platform-ruby 0.11.2 → 0.12.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.
- checksums.yaml +4 -4
- data/Gemfile.lock +5 -5
- data/docs/MxPlatformApi.md +49 -49
- data/docs/{PaymentAccountResponse.md → PartnerAccountResponse.md} +2 -2
- data/docs/PartnerAccountResponseBody.md +18 -0
- data/docs/{PaymentProcessorAuthorizationCodeRequest.md → PartnerAuthorizationCodeRequest.md} +2 -2
- data/docs/PartnerAuthorizationCodeRequestBody.md +18 -0
- data/docs/{PaymentProcessorAuthorizationCodeResponse.md → PartnerAuthorizationCodeResponse.md} +2 -2
- data/docs/PartnerAuthorizationCodeResponseBody.md +18 -0
- data/docs/{PaymentProcessorTokenResponseBody.md → PartnerTokenResponseBody.md} +3 -3
- data/lib/mx-platform-ruby/api/mx_platform_api.rb +50 -50
- data/lib/mx-platform-ruby/models/{payment_account_response.rb → partner_account_response.rb} +3 -3
- data/lib/mx-platform-ruby/models/{payment_account_response_body.rb → partner_account_response_body.rb} +10 -10
- data/lib/mx-platform-ruby/models/{payment_processor_authorization_code_request.rb → partner_authorization_code_request.rb} +3 -3
- data/lib/mx-platform-ruby/models/{payment_processor_authorization_code_request_body.rb → partner_authorization_code_request_body.rb} +10 -10
- data/lib/mx-platform-ruby/models/{payment_processor_authorization_code_response.rb → partner_authorization_code_response.rb} +3 -3
- data/lib/mx-platform-ruby/models/{payment_processor_authorization_code_response_body.rb → partner_authorization_code_response_body.rb} +10 -10
- data/lib/mx-platform-ruby/models/{payment_processor_token_response_body.rb → partner_token_response_body.rb} +3 -3
- data/lib/mx-platform-ruby/version.rb +1 -1
- data/lib/mx-platform-ruby.rb +7 -7
- data/openapi/config.yml +1 -1
- data/spec/api/mx_platform_api_spec.rb +17 -17
- data/spec/models/{payment_account_response_body_spec.rb → partner_account_response_body_spec.rb} +7 -7
- data/spec/models/{payment_account_response_spec.rb → partner_account_response_spec.rb} +6 -6
- data/spec/models/{payment_processor_authorization_code_request_body_spec.rb → partner_authorization_code_request_body_spec.rb} +7 -7
- data/spec/models/{payment_processor_authorization_code_request_spec.rb → partner_authorization_code_request_spec.rb} +6 -6
- data/spec/models/{payment_processor_authorization_code_response_body_spec.rb → partner_authorization_code_response_body_spec.rb} +7 -7
- data/spec/models/{payment_processor_authorization_code_response_spec.rb → partner_authorization_code_response_spec.rb} +6 -6
- data/spec/models/{payment_processor_token_response_body_spec.rb → partner_token_response_body_spec.rb} +6 -6
- metadata +123 -123
- data/docs/PaymentAccountResponseBody.md +0 -18
- data/docs/PaymentProcessorAuthorizationCodeRequestBody.md +0 -18
- data/docs/PaymentProcessorAuthorizationCodeResponseBody.md +0 -18
@@ -14,13 +14,13 @@ require 'date'
|
|
14
14
|
require 'time'
|
15
15
|
|
16
16
|
module MxPlatformRuby
|
17
|
-
class
|
18
|
-
attr_accessor :
|
17
|
+
class PartnerAccountResponseBody
|
18
|
+
attr_accessor :partner_account
|
19
19
|
|
20
20
|
# Attribute mapping from ruby-style variable name to JSON key.
|
21
21
|
def self.attribute_map
|
22
22
|
{
|
23
|
-
:'
|
23
|
+
:'partner_account' => :'partner_account'
|
24
24
|
}
|
25
25
|
end
|
26
26
|
|
@@ -32,7 +32,7 @@ module MxPlatformRuby
|
|
32
32
|
# Attribute type mapping.
|
33
33
|
def self.openapi_types
|
34
34
|
{
|
35
|
-
:'
|
35
|
+
:'partner_account' => :'PartnerAccountResponse'
|
36
36
|
}
|
37
37
|
end
|
38
38
|
|
@@ -46,19 +46,19 @@ module MxPlatformRuby
|
|
46
46
|
# @param [Hash] attributes Model attributes in the form of hash
|
47
47
|
def initialize(attributes = {})
|
48
48
|
if (!attributes.is_a?(Hash))
|
49
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `MxPlatformRuby::
|
49
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `MxPlatformRuby::PartnerAccountResponseBody` initialize method"
|
50
50
|
end
|
51
51
|
|
52
52
|
# check to see if the attribute exists and convert string to symbol for hash key
|
53
53
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
54
54
|
if (!self.class.attribute_map.key?(k.to_sym))
|
55
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `MxPlatformRuby::
|
55
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `MxPlatformRuby::PartnerAccountResponseBody`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
56
56
|
end
|
57
57
|
h[k.to_sym] = v
|
58
58
|
}
|
59
59
|
|
60
|
-
if attributes.key?(:'
|
61
|
-
self.
|
60
|
+
if attributes.key?(:'partner_account')
|
61
|
+
self.partner_account = attributes[:'partner_account']
|
62
62
|
end
|
63
63
|
end
|
64
64
|
|
@@ -80,7 +80,7 @@ module MxPlatformRuby
|
|
80
80
|
def ==(o)
|
81
81
|
return true if self.equal?(o)
|
82
82
|
self.class == o.class &&
|
83
|
-
|
83
|
+
partner_account == o.partner_account
|
84
84
|
end
|
85
85
|
|
86
86
|
# @see the `==` method
|
@@ -92,7 +92,7 @@ module MxPlatformRuby
|
|
92
92
|
# Calculates hash code according to all attributes.
|
93
93
|
# @return [Integer] Hash code
|
94
94
|
def hash
|
95
|
-
[
|
95
|
+
[partner_account].hash
|
96
96
|
end
|
97
97
|
|
98
98
|
# Builds the object from hash
|
@@ -14,7 +14,7 @@ require 'date'
|
|
14
14
|
require 'time'
|
15
15
|
|
16
16
|
module MxPlatformRuby
|
17
|
-
class
|
17
|
+
class PartnerAuthorizationCodeRequest
|
18
18
|
attr_accessor :account_guid
|
19
19
|
|
20
20
|
attr_accessor :member_guid
|
@@ -54,13 +54,13 @@ module MxPlatformRuby
|
|
54
54
|
# @param [Hash] attributes Model attributes in the form of hash
|
55
55
|
def initialize(attributes = {})
|
56
56
|
if (!attributes.is_a?(Hash))
|
57
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `MxPlatformRuby::
|
57
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `MxPlatformRuby::PartnerAuthorizationCodeRequest` initialize method"
|
58
58
|
end
|
59
59
|
|
60
60
|
# check to see if the attribute exists and convert string to symbol for hash key
|
61
61
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
62
62
|
if (!self.class.attribute_map.key?(k.to_sym))
|
63
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `MxPlatformRuby::
|
63
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `MxPlatformRuby::PartnerAuthorizationCodeRequest`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
64
64
|
end
|
65
65
|
h[k.to_sym] = v
|
66
66
|
}
|
@@ -14,13 +14,13 @@ require 'date'
|
|
14
14
|
require 'time'
|
15
15
|
|
16
16
|
module MxPlatformRuby
|
17
|
-
class
|
18
|
-
attr_accessor :
|
17
|
+
class PartnerAuthorizationCodeRequestBody
|
18
|
+
attr_accessor :partner_authorization_code
|
19
19
|
|
20
20
|
# Attribute mapping from ruby-style variable name to JSON key.
|
21
21
|
def self.attribute_map
|
22
22
|
{
|
23
|
-
:'
|
23
|
+
:'partner_authorization_code' => :'partner_authorization_code'
|
24
24
|
}
|
25
25
|
end
|
26
26
|
|
@@ -32,7 +32,7 @@ module MxPlatformRuby
|
|
32
32
|
# Attribute type mapping.
|
33
33
|
def self.openapi_types
|
34
34
|
{
|
35
|
-
:'
|
35
|
+
:'partner_authorization_code' => :'PartnerAuthorizationCodeRequest'
|
36
36
|
}
|
37
37
|
end
|
38
38
|
|
@@ -46,19 +46,19 @@ module MxPlatformRuby
|
|
46
46
|
# @param [Hash] attributes Model attributes in the form of hash
|
47
47
|
def initialize(attributes = {})
|
48
48
|
if (!attributes.is_a?(Hash))
|
49
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `MxPlatformRuby::
|
49
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `MxPlatformRuby::PartnerAuthorizationCodeRequestBody` initialize method"
|
50
50
|
end
|
51
51
|
|
52
52
|
# check to see if the attribute exists and convert string to symbol for hash key
|
53
53
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
54
54
|
if (!self.class.attribute_map.key?(k.to_sym))
|
55
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `MxPlatformRuby::
|
55
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `MxPlatformRuby::PartnerAuthorizationCodeRequestBody`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
56
56
|
end
|
57
57
|
h[k.to_sym] = v
|
58
58
|
}
|
59
59
|
|
60
|
-
if attributes.key?(:'
|
61
|
-
self.
|
60
|
+
if attributes.key?(:'partner_authorization_code')
|
61
|
+
self.partner_authorization_code = attributes[:'partner_authorization_code']
|
62
62
|
end
|
63
63
|
end
|
64
64
|
|
@@ -80,7 +80,7 @@ module MxPlatformRuby
|
|
80
80
|
def ==(o)
|
81
81
|
return true if self.equal?(o)
|
82
82
|
self.class == o.class &&
|
83
|
-
|
83
|
+
partner_authorization_code == o.partner_authorization_code
|
84
84
|
end
|
85
85
|
|
86
86
|
# @see the `==` method
|
@@ -92,7 +92,7 @@ module MxPlatformRuby
|
|
92
92
|
# Calculates hash code according to all attributes.
|
93
93
|
# @return [Integer] Hash code
|
94
94
|
def hash
|
95
|
-
[
|
95
|
+
[partner_authorization_code].hash
|
96
96
|
end
|
97
97
|
|
98
98
|
# Builds the object from hash
|
@@ -14,7 +14,7 @@ require 'date'
|
|
14
14
|
require 'time'
|
15
15
|
|
16
16
|
module MxPlatformRuby
|
17
|
-
class
|
17
|
+
class PartnerAuthorizationCodeResponse
|
18
18
|
attr_accessor :authorization_code
|
19
19
|
|
20
20
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -47,13 +47,13 @@ module MxPlatformRuby
|
|
47
47
|
# @param [Hash] attributes Model attributes in the form of hash
|
48
48
|
def initialize(attributes = {})
|
49
49
|
if (!attributes.is_a?(Hash))
|
50
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `MxPlatformRuby::
|
50
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `MxPlatformRuby::PartnerAuthorizationCodeResponse` initialize method"
|
51
51
|
end
|
52
52
|
|
53
53
|
# check to see if the attribute exists and convert string to symbol for hash key
|
54
54
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
55
55
|
if (!self.class.attribute_map.key?(k.to_sym))
|
56
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `MxPlatformRuby::
|
56
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `MxPlatformRuby::PartnerAuthorizationCodeResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
57
57
|
end
|
58
58
|
h[k.to_sym] = v
|
59
59
|
}
|
@@ -14,13 +14,13 @@ require 'date'
|
|
14
14
|
require 'time'
|
15
15
|
|
16
16
|
module MxPlatformRuby
|
17
|
-
class
|
18
|
-
attr_accessor :
|
17
|
+
class PartnerAuthorizationCodeResponseBody
|
18
|
+
attr_accessor :partner_authorization_code
|
19
19
|
|
20
20
|
# Attribute mapping from ruby-style variable name to JSON key.
|
21
21
|
def self.attribute_map
|
22
22
|
{
|
23
|
-
:'
|
23
|
+
:'partner_authorization_code' => :'partner_authorization_code'
|
24
24
|
}
|
25
25
|
end
|
26
26
|
|
@@ -32,7 +32,7 @@ module MxPlatformRuby
|
|
32
32
|
# Attribute type mapping.
|
33
33
|
def self.openapi_types
|
34
34
|
{
|
35
|
-
:'
|
35
|
+
:'partner_authorization_code' => :'PartnerAuthorizationCodeResponse'
|
36
36
|
}
|
37
37
|
end
|
38
38
|
|
@@ -46,19 +46,19 @@ module MxPlatformRuby
|
|
46
46
|
# @param [Hash] attributes Model attributes in the form of hash
|
47
47
|
def initialize(attributes = {})
|
48
48
|
if (!attributes.is_a?(Hash))
|
49
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `MxPlatformRuby::
|
49
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `MxPlatformRuby::PartnerAuthorizationCodeResponseBody` initialize method"
|
50
50
|
end
|
51
51
|
|
52
52
|
# check to see if the attribute exists and convert string to symbol for hash key
|
53
53
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
54
54
|
if (!self.class.attribute_map.key?(k.to_sym))
|
55
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `MxPlatformRuby::
|
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
56
|
end
|
57
57
|
h[k.to_sym] = v
|
58
58
|
}
|
59
59
|
|
60
|
-
if attributes.key?(:'
|
61
|
-
self.
|
60
|
+
if attributes.key?(:'partner_authorization_code')
|
61
|
+
self.partner_authorization_code = attributes[:'partner_authorization_code']
|
62
62
|
end
|
63
63
|
end
|
64
64
|
|
@@ -80,7 +80,7 @@ module MxPlatformRuby
|
|
80
80
|
def ==(o)
|
81
81
|
return true if self.equal?(o)
|
82
82
|
self.class == o.class &&
|
83
|
-
|
83
|
+
partner_authorization_code == o.partner_authorization_code
|
84
84
|
end
|
85
85
|
|
86
86
|
# @see the `==` method
|
@@ -92,7 +92,7 @@ module MxPlatformRuby
|
|
92
92
|
# Calculates hash code according to all attributes.
|
93
93
|
# @return [Integer] Hash code
|
94
94
|
def hash
|
95
|
-
[
|
95
|
+
[partner_authorization_code].hash
|
96
96
|
end
|
97
97
|
|
98
98
|
# Builds the object from hash
|
@@ -14,7 +14,7 @@ require 'date'
|
|
14
14
|
require 'time'
|
15
15
|
|
16
16
|
module MxPlatformRuby
|
17
|
-
class
|
17
|
+
class PartnerTokenResponseBody
|
18
18
|
attr_accessor :access_token
|
19
19
|
|
20
20
|
attr_accessor :scope
|
@@ -57,13 +57,13 @@ module MxPlatformRuby
|
|
57
57
|
# @param [Hash] attributes Model attributes in the form of hash
|
58
58
|
def initialize(attributes = {})
|
59
59
|
if (!attributes.is_a?(Hash))
|
60
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `MxPlatformRuby::
|
60
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `MxPlatformRuby::PartnerTokenResponseBody` initialize method"
|
61
61
|
end
|
62
62
|
|
63
63
|
# check to see if the attribute exists and convert string to symbol for hash key
|
64
64
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
65
65
|
if (!self.class.attribute_map.key?(k.to_sym))
|
66
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `MxPlatformRuby::
|
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
67
|
end
|
68
68
|
h[k.to_sym] = v
|
69
69
|
}
|
data/lib/mx-platform-ruby.rb
CHANGED
@@ -85,13 +85,13 @@ require 'mx-platform-ruby/models/o_auth_window_response'
|
|
85
85
|
require 'mx-platform-ruby/models/o_auth_window_response_body'
|
86
86
|
require 'mx-platform-ruby/models/option_response'
|
87
87
|
require 'mx-platform-ruby/models/pagination_response'
|
88
|
-
require 'mx-platform-ruby/models/
|
89
|
-
require 'mx-platform-ruby/models/
|
90
|
-
require 'mx-platform-ruby/models/
|
91
|
-
require 'mx-platform-ruby/models/
|
92
|
-
require 'mx-platform-ruby/models/
|
93
|
-
require 'mx-platform-ruby/models/
|
94
|
-
require 'mx-platform-ruby/models/
|
88
|
+
require 'mx-platform-ruby/models/partner_account_response'
|
89
|
+
require 'mx-platform-ruby/models/partner_account_response_body'
|
90
|
+
require 'mx-platform-ruby/models/partner_authorization_code_request'
|
91
|
+
require 'mx-platform-ruby/models/partner_authorization_code_request_body'
|
92
|
+
require 'mx-platform-ruby/models/partner_authorization_code_response'
|
93
|
+
require 'mx-platform-ruby/models/partner_authorization_code_response_body'
|
94
|
+
require 'mx-platform-ruby/models/partner_token_response_body'
|
95
95
|
require 'mx-platform-ruby/models/statement_response'
|
96
96
|
require 'mx-platform-ruby/models/statement_response_body'
|
97
97
|
require 'mx-platform-ruby/models/statements_response_body'
|
data/openapi/config.yml
CHANGED
@@ -1070,37 +1070,37 @@ describe 'MxPlatformApi' do
|
|
1070
1070
|
end
|
1071
1071
|
end
|
1072
1072
|
|
1073
|
-
# unit tests for
|
1074
|
-
# Request
|
1075
|
-
# Use this endpoint to request a
|
1073
|
+
# unit tests for request_partner_account
|
1074
|
+
# Request partner account
|
1075
|
+
# Use this endpoint to request a partner account.
|
1076
1076
|
# @param [Hash] opts the optional parameters
|
1077
|
-
# @return [
|
1078
|
-
describe '
|
1077
|
+
# @return [PartnerAccountResponseBody]
|
1078
|
+
describe 'request_partner_account test' do
|
1079
1079
|
it 'should work' do
|
1080
1080
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1081
1081
|
end
|
1082
1082
|
end
|
1083
1083
|
|
1084
|
-
# unit tests for
|
1085
|
-
# Request
|
1086
|
-
# Use this endpoint to request a
|
1087
|
-
# @param
|
1084
|
+
# unit tests for request_partner_authorization_code
|
1085
|
+
# Request partner authorization code
|
1086
|
+
# Use this endpoint to request a partner authorization code.
|
1087
|
+
# @param partner_authorization_code_request_body Partner authorization code object containing account_guid, member_guid, and user_guid.
|
1088
1088
|
# @param [Hash] opts the optional parameters
|
1089
|
-
# @return [
|
1090
|
-
describe '
|
1089
|
+
# @return [PartnerAuthorizationCodeResponseBody]
|
1090
|
+
describe 'request_partner_authorization_code test' do
|
1091
1091
|
it 'should work' do
|
1092
1092
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1093
1093
|
end
|
1094
1094
|
end
|
1095
1095
|
|
1096
|
-
# unit tests for
|
1097
|
-
# Request
|
1098
|
-
# Use this endpoint to request a
|
1096
|
+
# unit tests for request_partner_token
|
1097
|
+
# Request partner token
|
1098
|
+
# Use this endpoint to request a partner token.
|
1099
1099
|
# @param [Hash] opts the optional parameters
|
1100
|
-
# @option opts [String] :code Code to request
|
1100
|
+
# @option opts [String] :code Code to request partner token.
|
1101
1101
|
# @option opts [String] :grant_type Specify grant type.
|
1102
|
-
# @return [
|
1103
|
-
describe '
|
1102
|
+
# @return [PartnerTokenResponseBody]
|
1103
|
+
describe 'request_partner_token test' do
|
1104
1104
|
it 'should work' do
|
1105
1105
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1106
1106
|
end
|
data/spec/models/{payment_account_response_body_spec.rb → partner_account_response_body_spec.rb}
RENAMED
@@ -14,18 +14,18 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
require 'date'
|
16
16
|
|
17
|
-
# Unit tests for MxPlatformRuby::
|
17
|
+
# Unit tests for MxPlatformRuby::PartnerAccountResponseBody
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
19
|
# Please update as you see appropriate
|
20
|
-
describe MxPlatformRuby::
|
21
|
-
let(:instance) { MxPlatformRuby::
|
20
|
+
describe MxPlatformRuby::PartnerAccountResponseBody do
|
21
|
+
let(:instance) { MxPlatformRuby::PartnerAccountResponseBody.new }
|
22
22
|
|
23
|
-
describe 'test an instance of
|
24
|
-
it 'should create an instance of
|
25
|
-
expect(instance).to be_instance_of(MxPlatformRuby::
|
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
26
|
end
|
27
27
|
end
|
28
|
-
describe 'test attribute "
|
28
|
+
describe 'test attribute "partner_account"' do
|
29
29
|
it 'should work' do
|
30
30
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
31
31
|
end
|
@@ -14,15 +14,15 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
require 'date'
|
16
16
|
|
17
|
-
# Unit tests for MxPlatformRuby::
|
17
|
+
# Unit tests for MxPlatformRuby::PartnerAccountResponse
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
19
|
# Please update as you see appropriate
|
20
|
-
describe MxPlatformRuby::
|
21
|
-
let(:instance) { MxPlatformRuby::
|
20
|
+
describe MxPlatformRuby::PartnerAccountResponse do
|
21
|
+
let(:instance) { MxPlatformRuby::PartnerAccountResponse.new }
|
22
22
|
|
23
|
-
describe 'test an instance of
|
24
|
-
it 'should create an instance of
|
25
|
-
expect(instance).to be_instance_of(MxPlatformRuby::
|
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
26
|
end
|
27
27
|
end
|
28
28
|
describe 'test attribute "account_name"' do
|
@@ -14,18 +14,18 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
require 'date'
|
16
16
|
|
17
|
-
# Unit tests for MxPlatformRuby::
|
17
|
+
# Unit tests for MxPlatformRuby::PartnerAuthorizationCodeRequestBody
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
19
|
# Please update as you see appropriate
|
20
|
-
describe MxPlatformRuby::
|
21
|
-
let(:instance) { MxPlatformRuby::
|
20
|
+
describe MxPlatformRuby::PartnerAuthorizationCodeRequestBody do
|
21
|
+
let(:instance) { MxPlatformRuby::PartnerAuthorizationCodeRequestBody.new }
|
22
22
|
|
23
|
-
describe 'test an instance of
|
24
|
-
it 'should create an instance of
|
25
|
-
expect(instance).to be_instance_of(MxPlatformRuby::
|
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
26
|
end
|
27
27
|
end
|
28
|
-
describe 'test attribute "
|
28
|
+
describe 'test attribute "partner_authorization_code"' do
|
29
29
|
it 'should work' do
|
30
30
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
31
31
|
end
|
@@ -14,15 +14,15 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
require 'date'
|
16
16
|
|
17
|
-
# Unit tests for MxPlatformRuby::
|
17
|
+
# Unit tests for MxPlatformRuby::PartnerAuthorizationCodeRequest
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
19
|
# Please update as you see appropriate
|
20
|
-
describe MxPlatformRuby::
|
21
|
-
let(:instance) { MxPlatformRuby::
|
20
|
+
describe MxPlatformRuby::PartnerAuthorizationCodeRequest do
|
21
|
+
let(:instance) { MxPlatformRuby::PartnerAuthorizationCodeRequest.new }
|
22
22
|
|
23
|
-
describe 'test an instance of
|
24
|
-
it 'should create an instance of
|
25
|
-
expect(instance).to be_instance_of(MxPlatformRuby::
|
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
26
|
end
|
27
27
|
end
|
28
28
|
describe 'test attribute "account_guid"' do
|
@@ -14,18 +14,18 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
require 'date'
|
16
16
|
|
17
|
-
# Unit tests for MxPlatformRuby::
|
17
|
+
# Unit tests for MxPlatformRuby::PartnerAuthorizationCodeResponseBody
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
19
|
# Please update as you see appropriate
|
20
|
-
describe MxPlatformRuby::
|
21
|
-
let(:instance) { MxPlatformRuby::
|
20
|
+
describe MxPlatformRuby::PartnerAuthorizationCodeResponseBody do
|
21
|
+
let(:instance) { MxPlatformRuby::PartnerAuthorizationCodeResponseBody.new }
|
22
22
|
|
23
|
-
describe 'test an instance of
|
24
|
-
it 'should create an instance of
|
25
|
-
expect(instance).to be_instance_of(MxPlatformRuby::
|
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
26
|
end
|
27
27
|
end
|
28
|
-
describe 'test attribute "
|
28
|
+
describe 'test attribute "partner_authorization_code"' do
|
29
29
|
it 'should work' do
|
30
30
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
31
31
|
end
|
@@ -14,15 +14,15 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
require 'date'
|
16
16
|
|
17
|
-
# Unit tests for MxPlatformRuby::
|
17
|
+
# Unit tests for MxPlatformRuby::PartnerAuthorizationCodeResponse
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
19
|
# Please update as you see appropriate
|
20
|
-
describe MxPlatformRuby::
|
21
|
-
let(:instance) { MxPlatformRuby::
|
20
|
+
describe MxPlatformRuby::PartnerAuthorizationCodeResponse do
|
21
|
+
let(:instance) { MxPlatformRuby::PartnerAuthorizationCodeResponse.new }
|
22
22
|
|
23
|
-
describe 'test an instance of
|
24
|
-
it 'should create an instance of
|
25
|
-
expect(instance).to be_instance_of(MxPlatformRuby::
|
23
|
+
describe 'test an instance of PartnerAuthorizationCodeResponse' do
|
24
|
+
it 'should create an instance of PartnerAuthorizationCodeResponse' do
|
25
|
+
expect(instance).to be_instance_of(MxPlatformRuby::PartnerAuthorizationCodeResponse)
|
26
26
|
end
|
27
27
|
end
|
28
28
|
describe 'test attribute "authorization_code"' do
|
@@ -14,15 +14,15 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
require 'date'
|
16
16
|
|
17
|
-
# Unit tests for MxPlatformRuby::
|
17
|
+
# Unit tests for MxPlatformRuby::PartnerTokenResponseBody
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
19
|
# Please update as you see appropriate
|
20
|
-
describe MxPlatformRuby::
|
21
|
-
let(:instance) { MxPlatformRuby::
|
20
|
+
describe MxPlatformRuby::PartnerTokenResponseBody do
|
21
|
+
let(:instance) { MxPlatformRuby::PartnerTokenResponseBody.new }
|
22
22
|
|
23
|
-
describe 'test an instance of
|
24
|
-
it 'should create an instance of
|
25
|
-
expect(instance).to be_instance_of(MxPlatformRuby::
|
23
|
+
describe 'test an instance of PartnerTokenResponseBody' do
|
24
|
+
it 'should create an instance of PartnerTokenResponseBody' do
|
25
|
+
expect(instance).to be_instance_of(MxPlatformRuby::PartnerTokenResponseBody)
|
26
26
|
end
|
27
27
|
end
|
28
28
|
describe 'test attribute "access_token"' do
|