pnap_payments_api 1.0.3 → 1.0.5
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/VERSION +1 -1
- data/lib/pnap_payments_api/api/transactions_api.rb +3 -3
- data/lib/pnap_payments_api/api_client.rb +17 -14
- data/lib/pnap_payments_api/api_error.rb +1 -1
- data/lib/pnap_payments_api/api_model_base.rb +88 -0
- data/lib/pnap_payments_api/configuration.rb +11 -1
- data/lib/pnap_payments_api/models/card_payment_method_details.rb +21 -78
- data/lib/pnap_payments_api/models/error.rb +21 -78
- data/lib/pnap_payments_api/models/paginated_response.rb +41 -78
- data/lib/pnap_payments_api/models/paginated_transactions.rb +51 -78
- data/lib/pnap_payments_api/models/transaction.rb +81 -78
- data/lib/pnap_payments_api/models/transaction_metadata.rb +31 -78
- data/lib/pnap_payments_api/version.rb +1 -2
- data/lib/pnap_payments_api.rb +2 -1
- data/pnap_payments_api.gemspec +6 -6
- data/spec/api/transactions_api_spec.rb +1 -1
- data/spec/models/card_payment_method_details_spec.rb +2 -2
- data/spec/models/error_spec.rb +2 -2
- data/spec/models/paginated_response_spec.rb +2 -2
- data/spec/models/paginated_transactions_spec.rb +2 -2
- data/spec/models/transaction_metadata_spec.rb +2 -2
- data/spec/models/transaction_spec.rb +2 -2
- data/spec/spec_helper.rb +1 -1
- metadata +10 -10
data/lib/pnap_payments_api.rb
CHANGED
|
@@ -6,13 +6,14 @@
|
|
|
6
6
|
The version of the OpenAPI document: 0.1
|
|
7
7
|
Contact: support@phoenixnap.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
|
|
9
|
+
Generator version: 7.20.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
13
13
|
# Common files
|
|
14
14
|
require 'pnap_payments_api/api_client'
|
|
15
15
|
require 'pnap_payments_api/api_error'
|
|
16
|
+
require 'pnap_payments_api/api_model_base'
|
|
16
17
|
require 'pnap_payments_api/version'
|
|
17
18
|
require 'pnap_payments_api/configuration'
|
|
18
19
|
|
data/pnap_payments_api.gemspec
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
The version of the OpenAPI document: 0.1
|
|
9
9
|
Contact: support@phoenixnap.com
|
|
10
10
|
Generated by: https://openapi-generator.tech
|
|
11
|
-
|
|
11
|
+
Generator version: 7.20.0
|
|
12
12
|
|
|
13
13
|
=end
|
|
14
14
|
|
|
@@ -19,14 +19,14 @@ Gem::Specification.new do |s|
|
|
|
19
19
|
s.name = "pnap_payments_api"
|
|
20
20
|
s.version = PaymentsApi::VERSION
|
|
21
21
|
s.platform = Gem::Platform::RUBY
|
|
22
|
-
s.authors = ["
|
|
22
|
+
s.authors = ["OpenAPI-Generator"]
|
|
23
23
|
s.email = ["support@phoenixnap.com"]
|
|
24
|
-
s.homepage = "https://
|
|
24
|
+
s.homepage = "https://openapi-generator.tech"
|
|
25
25
|
s.summary = "Payments API Ruby Gem"
|
|
26
|
-
s.description = "Payments API
|
|
26
|
+
s.description = "Payments API are currently designed to fetch Transactions only."
|
|
27
27
|
s.license = "MPL-2.0"
|
|
28
28
|
s.required_ruby_version = ">= 2.7"
|
|
29
|
-
s.metadata = {
|
|
29
|
+
s.metadata = {}
|
|
30
30
|
|
|
31
31
|
s.add_runtime_dependency 'typhoeus', '~> 1.0', '>= 1.0.1'
|
|
32
32
|
|
|
@@ -36,4 +36,4 @@ Gem::Specification.new do |s|
|
|
|
36
36
|
s.test_files = `find spec/*`.split("\n")
|
|
37
37
|
s.executables = []
|
|
38
38
|
s.require_paths = ["lib"]
|
|
39
|
-
end
|
|
39
|
+
end
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: 0.1
|
|
7
7
|
Contact: support@phoenixnap.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
|
|
9
|
+
Generator version: 7.20.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -18,7 +18,7 @@ require 'date'
|
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
20
|
describe PaymentsApi::CardPaymentMethodDetails do
|
|
21
|
-
let(:instance) { PaymentsApi::CardPaymentMethodDetails.new }
|
|
21
|
+
#let(:instance) { PaymentsApi::CardPaymentMethodDetails.new }
|
|
22
22
|
|
|
23
23
|
describe 'test an instance of CardPaymentMethodDetails' do
|
|
24
24
|
it 'should create an instance of CardPaymentMethodDetails' do
|
data/spec/models/error_spec.rb
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: 0.1
|
|
7
7
|
Contact: support@phoenixnap.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
|
|
9
|
+
Generator version: 7.20.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -18,7 +18,7 @@ require 'date'
|
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
20
|
describe PaymentsApi::Error do
|
|
21
|
-
let(:instance) { PaymentsApi::Error.new }
|
|
21
|
+
#let(:instance) { PaymentsApi::Error.new }
|
|
22
22
|
|
|
23
23
|
describe 'test an instance of Error' do
|
|
24
24
|
it 'should create an instance of Error' do
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: 0.1
|
|
7
7
|
Contact: support@phoenixnap.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
|
|
9
|
+
Generator version: 7.20.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -18,7 +18,7 @@ require 'date'
|
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
20
|
describe PaymentsApi::PaginatedResponse do
|
|
21
|
-
let(:instance) { PaymentsApi::PaginatedResponse.new }
|
|
21
|
+
#let(:instance) { PaymentsApi::PaginatedResponse.new }
|
|
22
22
|
|
|
23
23
|
describe 'test an instance of PaginatedResponse' do
|
|
24
24
|
it 'should create an instance of PaginatedResponse' do
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: 0.1
|
|
7
7
|
Contact: support@phoenixnap.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
|
|
9
|
+
Generator version: 7.20.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -18,7 +18,7 @@ require 'date'
|
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
20
|
describe PaymentsApi::PaginatedTransactions do
|
|
21
|
-
let(:instance) { PaymentsApi::PaginatedTransactions.new }
|
|
21
|
+
#let(:instance) { PaymentsApi::PaginatedTransactions.new }
|
|
22
22
|
|
|
23
23
|
describe 'test an instance of PaginatedTransactions' do
|
|
24
24
|
it 'should create an instance of PaginatedTransactions' do
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: 0.1
|
|
7
7
|
Contact: support@phoenixnap.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
|
|
9
|
+
Generator version: 7.20.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -18,7 +18,7 @@ require 'date'
|
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
20
|
describe PaymentsApi::TransactionMetadata do
|
|
21
|
-
let(:instance) { PaymentsApi::TransactionMetadata.new }
|
|
21
|
+
#let(:instance) { PaymentsApi::TransactionMetadata.new }
|
|
22
22
|
|
|
23
23
|
describe 'test an instance of TransactionMetadata' do
|
|
24
24
|
it 'should create an instance of TransactionMetadata' do
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: 0.1
|
|
7
7
|
Contact: support@phoenixnap.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
|
|
9
|
+
Generator version: 7.20.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -18,7 +18,7 @@ require 'date'
|
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
20
|
describe PaymentsApi::Transaction do
|
|
21
|
-
let(:instance) { PaymentsApi::Transaction.new }
|
|
21
|
+
#let(:instance) { PaymentsApi::Transaction.new }
|
|
22
22
|
|
|
23
23
|
describe 'test an instance of Transaction' do
|
|
24
24
|
it 'should create an instance of Transaction' do
|
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pnap_payments_api
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
|
-
-
|
|
7
|
+
- OpenAPI-Generator
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2026-04-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: typhoeus
|
|
@@ -50,7 +50,7 @@ dependencies:
|
|
|
50
50
|
- - ">="
|
|
51
51
|
- !ruby/object:Gem::Version
|
|
52
52
|
version: 3.6.0
|
|
53
|
-
description: Payments API
|
|
53
|
+
description: Payments API are currently designed to fetch Transactions only.
|
|
54
54
|
email:
|
|
55
55
|
- support@phoenixnap.com
|
|
56
56
|
executables: []
|
|
@@ -72,6 +72,7 @@ files:
|
|
|
72
72
|
- lib/pnap_payments_api/api/transactions_api.rb
|
|
73
73
|
- lib/pnap_payments_api/api_client.rb
|
|
74
74
|
- lib/pnap_payments_api/api_error.rb
|
|
75
|
+
- lib/pnap_payments_api/api_model_base.rb
|
|
75
76
|
- lib/pnap_payments_api/configuration.rb
|
|
76
77
|
- lib/pnap_payments_api/models/card_payment_method_details.rb
|
|
77
78
|
- lib/pnap_payments_api/models/error.rb
|
|
@@ -89,11 +90,10 @@ files:
|
|
|
89
90
|
- spec/models/transaction_metadata_spec.rb
|
|
90
91
|
- spec/models/transaction_spec.rb
|
|
91
92
|
- spec/spec_helper.rb
|
|
92
|
-
homepage: https://
|
|
93
|
+
homepage: https://openapi-generator.tech
|
|
93
94
|
licenses:
|
|
94
95
|
- MPL-2.0
|
|
95
|
-
metadata:
|
|
96
|
-
source_code_uri: https://github.com/phoenixnap/ruby-sdk-bmc
|
|
96
|
+
metadata: {}
|
|
97
97
|
post_install_message:
|
|
98
98
|
rdoc_options: []
|
|
99
99
|
require_paths:
|
|
@@ -115,10 +115,10 @@ specification_version: 4
|
|
|
115
115
|
summary: Payments API Ruby Gem
|
|
116
116
|
test_files:
|
|
117
117
|
- spec/api/transactions_api_spec.rb
|
|
118
|
-
- spec/models/error_spec.rb
|
|
119
|
-
- spec/models/transaction_metadata_spec.rb
|
|
120
118
|
- spec/models/card_payment_method_details_spec.rb
|
|
119
|
+
- spec/models/error_spec.rb
|
|
120
|
+
- spec/models/transaction_spec.rb
|
|
121
121
|
- spec/models/paginated_transactions_spec.rb
|
|
122
122
|
- spec/models/paginated_response_spec.rb
|
|
123
|
-
- spec/models/
|
|
123
|
+
- spec/models/transaction_metadata_spec.rb
|
|
124
124
|
- spec/spec_helper.rb
|