xolphin-api 1.5.0 → 1.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.gitignore +13 -12
- data/.rspec +2 -2
- data/.rubocop.yml +28 -28
- data/.travis.yml +5 -5
- data/CHANGELOG.md +19 -0
- data/Gemfile +6 -6
- data/LICENSE.txt +21 -21
- data/README.md +169 -169
- data/Rakefile +12 -12
- data/bin/console +14 -14
- data/bin/setup +8 -8
- data/examples/_credentials.rb +9 -8
- data/examples/certificate_cancel.rb +6 -6
- data/examples/certificate_reissue.rb +23 -25
- data/examples/certificate_renew.rb +22 -22
- data/examples/get_notes.rb +9 -9
- data/examples/invoices_get.rb +7 -0
- data/examples/request_create_ee.rb +29 -29
- data/examples/request_validation_call.rb +5 -5
- data/examples/requests_get.rb +7 -7
- data/examples/send_csa_email.rb +5 -5
- data/examples/send_note.rb +6 -6
- data/lib/xolphin/api/certificate_requests/certificate_reissue.rb +47 -47
- data/lib/xolphin/api/certificate_requests/certificate_renew.rb +51 -51
- data/lib/xolphin/api/certificate_requests/create_certificate_request.rb +53 -52
- data/lib/xolphin/api/certificate_requests/create_ee_request.rb +28 -33
- data/lib/xolphin/api/client.rb +25 -21
- data/lib/xolphin/api/dcv_type.rb +9 -9
- data/lib/xolphin/api/endpoint/certificate.rb +59 -59
- data/lib/xolphin/api/endpoint/invoice.rb +40 -0
- data/lib/xolphin/api/endpoint/request.rb +90 -86
- data/lib/xolphin/api/endpoint/support.rb +47 -47
- data/lib/xolphin/api/format_type.rb +12 -12
- data/lib/xolphin/api/http.rb +67 -67
- data/lib/xolphin/api/invoice_format_type.rb +8 -0
- data/lib/xolphin/api/product_type.rb +9 -9
- data/lib/xolphin/api/responses/base.rb +43 -43
- data/lib/xolphin/api/responses/certificate.rb +53 -53
- data/lib/xolphin/api/responses/certificates.rb +25 -25
- data/lib/xolphin/api/responses/csr_data.rb +43 -43
- data/lib/xolphin/api/responses/invoice.rb +57 -0
- data/lib/xolphin/api/responses/invoices.rb +25 -0
- data/lib/xolphin/api/responses/note.rb +45 -37
- data/lib/xolphin/api/responses/notes.rb +23 -24
- data/lib/xolphin/api/responses/product.rb +53 -53
- data/lib/xolphin/api/responses/product_price.rb +27 -27
- data/lib/xolphin/api/responses/products.rb +25 -25
- data/lib/xolphin/api/responses/request.rb +119 -119
- data/lib/xolphin/api/responses/request_ee.rb +29 -29
- data/lib/xolphin/api/responses/request_validation.rb +37 -37
- data/lib/xolphin/api/responses/request_validation_domain.rb +51 -35
- data/lib/xolphin/api/responses/requests.rb +25 -25
- data/lib/xolphin/api/responses/validation_call.rb +23 -0
- data/lib/xolphin/api/responses/validation_calls.rb +25 -0
- data/lib/xolphin/api/version.rb +5 -5
- data/lib/xolphin/api.rb +38 -32
- data/xolphin-api.gemspec +25 -26
- metadata +17 -9
- data/xolphin-api-0.1.0.gem +0 -0
data/lib/xolphin/api.rb
CHANGED
@@ -1,32 +1,38 @@
|
|
1
|
-
require_relative "api/certificate_requests/create_certificate_request"
|
2
|
-
require_relative "api/certificate_requests/create_ee_request"
|
3
|
-
require_relative "api/certificate_requests/certificate_reissue"
|
4
|
-
require_relative "api/certificate_requests/certificate_renew"
|
5
|
-
|
6
|
-
require_relative "api/endpoint/certificate"
|
7
|
-
require_relative "api/endpoint/request"
|
8
|
-
require_relative "api/endpoint/support"
|
9
|
-
|
10
|
-
|
11
|
-
require_relative "api/responses/
|
12
|
-
require_relative "api/responses/
|
13
|
-
require_relative "api/responses/
|
14
|
-
require_relative "api/responses/
|
15
|
-
require_relative "api/responses/
|
16
|
-
require_relative "api/responses/
|
17
|
-
require_relative "api/responses/
|
18
|
-
require_relative "api/responses/
|
19
|
-
require_relative "api/responses/
|
20
|
-
require_relative "api/responses/
|
21
|
-
require_relative "api/responses/
|
22
|
-
require_relative "api/responses/
|
23
|
-
require_relative "api/responses/
|
24
|
-
|
25
|
-
require_relative "api/
|
26
|
-
require_relative "api/
|
27
|
-
|
28
|
-
require_relative "api/
|
29
|
-
|
30
|
-
require_relative "api/
|
31
|
-
|
32
|
-
|
1
|
+
require_relative "api/certificate_requests/create_certificate_request"
|
2
|
+
require_relative "api/certificate_requests/create_ee_request"
|
3
|
+
require_relative "api/certificate_requests/certificate_reissue"
|
4
|
+
require_relative "api/certificate_requests/certificate_renew"
|
5
|
+
|
6
|
+
require_relative "api/endpoint/certificate"
|
7
|
+
require_relative "api/endpoint/request"
|
8
|
+
require_relative "api/endpoint/support"
|
9
|
+
require_relative "api/endpoint/invoice"
|
10
|
+
|
11
|
+
require_relative "api/responses/base"
|
12
|
+
require_relative "api/responses/certificate"
|
13
|
+
require_relative "api/responses/certificates"
|
14
|
+
require_relative "api/responses/csr_data"
|
15
|
+
require_relative "api/responses/product_price"
|
16
|
+
require_relative "api/responses/product"
|
17
|
+
require_relative "api/responses/products"
|
18
|
+
require_relative "api/responses/request_validation_domain"
|
19
|
+
require_relative "api/responses/request_validation"
|
20
|
+
require_relative "api/responses/request"
|
21
|
+
require_relative "api/responses/request_ee"
|
22
|
+
require_relative "api/responses/requests"
|
23
|
+
require_relative "api/responses/note"
|
24
|
+
require_relative "api/responses/notes"
|
25
|
+
require_relative "api/responses/validation_call"
|
26
|
+
require_relative "api/responses/validation_calls"
|
27
|
+
require_relative "api/responses/invoice"
|
28
|
+
require_relative "api/responses/invoices"
|
29
|
+
|
30
|
+
require_relative "api/client"
|
31
|
+
require_relative "api/http"
|
32
|
+
|
33
|
+
require_relative "api/dcv_type"
|
34
|
+
require_relative "api/format_type"
|
35
|
+
require_relative "api/product_type"
|
36
|
+
require_relative "api/invoice_format_type"
|
37
|
+
|
38
|
+
require_relative "api/version"
|
data/xolphin-api.gemspec
CHANGED
@@ -1,26 +1,25 @@
|
|
1
|
-
# coding: utf-8
|
2
|
-
lib = File.expand_path('../lib', __FILE__)
|
3
|
-
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
-
require 'xolphin/api/version'
|
5
|
-
|
6
|
-
Gem::Specification.new do |spec|
|
7
|
-
spec.name = "xolphin-api"
|
8
|
-
spec.version = Xolphin::Api::VERSION
|
9
|
-
spec.authors = ["
|
10
|
-
spec.email = ["
|
11
|
-
|
12
|
-
spec.
|
13
|
-
spec.
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
spec.
|
20
|
-
spec.
|
21
|
-
|
22
|
-
|
23
|
-
spec.add_development_dependency "
|
24
|
-
spec.add_development_dependency "
|
25
|
-
|
26
|
-
end
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'xolphin/api/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "xolphin-api"
|
8
|
+
spec.version = Xolphin::Api::VERSION
|
9
|
+
spec.authors = ["Xolphin", "Bart van Kalmthout - Faber"]
|
10
|
+
spec.email = ["api@xolphin.com", "bart@xolphin.nl"]
|
11
|
+
spec.summary = "Xolphin API module for Ruby"
|
12
|
+
spec.homepage = "https://xolphin.nl/"
|
13
|
+
spec.license = "MIT"
|
14
|
+
|
15
|
+
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
16
|
+
f.match(%r{^(test|spec|features)/})
|
17
|
+
end
|
18
|
+
spec.bindir = "exe"
|
19
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
20
|
+
spec.require_paths = ["lib"]
|
21
|
+
|
22
|
+
spec.add_development_dependency "bundler", "~> 1.13"
|
23
|
+
spec.add_development_dependency "rake", "~> 13.0"
|
24
|
+
spec.add_development_dependency "rspec", "~> 3.0"
|
25
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: xolphin-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
7
|
+
- Xolphin
|
8
|
+
- Bart van Kalmthout - Faber
|
8
9
|
autorequire:
|
9
10
|
bindir: exe
|
10
11
|
cert_chain: []
|
11
|
-
date:
|
12
|
+
date: 2023-11-24 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
15
|
name: bundler
|
@@ -30,14 +31,14 @@ dependencies:
|
|
30
31
|
requirements:
|
31
32
|
- - "~>"
|
32
33
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
34
|
+
version: '13.0'
|
34
35
|
type: :development
|
35
36
|
prerelease: false
|
36
37
|
version_requirements: !ruby/object:Gem::Requirement
|
37
38
|
requirements:
|
38
39
|
- - "~>"
|
39
40
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
41
|
+
version: '13.0'
|
41
42
|
- !ruby/object:Gem::Dependency
|
42
43
|
name: rspec
|
43
44
|
requirement: !ruby/object:Gem::Requirement
|
@@ -54,7 +55,8 @@ dependencies:
|
|
54
55
|
version: '3.0'
|
55
56
|
description:
|
56
57
|
email:
|
57
|
-
-
|
58
|
+
- api@xolphin.com
|
59
|
+
- bart@xolphin.nl
|
58
60
|
executables: []
|
59
61
|
extensions: []
|
60
62
|
extra_rdoc_files: []
|
@@ -63,6 +65,7 @@ files:
|
|
63
65
|
- ".rspec"
|
64
66
|
- ".rubocop.yml"
|
65
67
|
- ".travis.yml"
|
68
|
+
- CHANGELOG.md
|
66
69
|
- Gemfile
|
67
70
|
- LICENSE.txt
|
68
71
|
- README.md
|
@@ -74,6 +77,7 @@ files:
|
|
74
77
|
- examples/certificate_reissue.rb
|
75
78
|
- examples/certificate_renew.rb
|
76
79
|
- examples/get_notes.rb
|
80
|
+
- examples/invoices_get.rb
|
77
81
|
- examples/request_create_ee.rb
|
78
82
|
- examples/request_validation_call.rb
|
79
83
|
- examples/requests_get.rb
|
@@ -87,15 +91,19 @@ files:
|
|
87
91
|
- lib/xolphin/api/client.rb
|
88
92
|
- lib/xolphin/api/dcv_type.rb
|
89
93
|
- lib/xolphin/api/endpoint/certificate.rb
|
94
|
+
- lib/xolphin/api/endpoint/invoice.rb
|
90
95
|
- lib/xolphin/api/endpoint/request.rb
|
91
96
|
- lib/xolphin/api/endpoint/support.rb
|
92
97
|
- lib/xolphin/api/format_type.rb
|
93
98
|
- lib/xolphin/api/http.rb
|
99
|
+
- lib/xolphin/api/invoice_format_type.rb
|
94
100
|
- lib/xolphin/api/product_type.rb
|
95
101
|
- lib/xolphin/api/responses/base.rb
|
96
102
|
- lib/xolphin/api/responses/certificate.rb
|
97
103
|
- lib/xolphin/api/responses/certificates.rb
|
98
104
|
- lib/xolphin/api/responses/csr_data.rb
|
105
|
+
- lib/xolphin/api/responses/invoice.rb
|
106
|
+
- lib/xolphin/api/responses/invoices.rb
|
99
107
|
- lib/xolphin/api/responses/note.rb
|
100
108
|
- lib/xolphin/api/responses/notes.rb
|
101
109
|
- lib/xolphin/api/responses/product.rb
|
@@ -106,8 +114,9 @@ files:
|
|
106
114
|
- lib/xolphin/api/responses/request_validation.rb
|
107
115
|
- lib/xolphin/api/responses/request_validation_domain.rb
|
108
116
|
- lib/xolphin/api/responses/requests.rb
|
117
|
+
- lib/xolphin/api/responses/validation_call.rb
|
118
|
+
- lib/xolphin/api/responses/validation_calls.rb
|
109
119
|
- lib/xolphin/api/version.rb
|
110
|
-
- xolphin-api-0.1.0.gem
|
111
120
|
- xolphin-api.gemspec
|
112
121
|
homepage: https://xolphin.nl/
|
113
122
|
licenses:
|
@@ -128,8 +137,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
128
137
|
- !ruby/object:Gem::Version
|
129
138
|
version: '0'
|
130
139
|
requirements: []
|
131
|
-
|
132
|
-
rubygems_version: 2.5.1
|
140
|
+
rubygems_version: 3.1.2
|
133
141
|
signing_key:
|
134
142
|
specification_version: 4
|
135
143
|
summary: Xolphin API module for Ruby
|
data/xolphin-api-0.1.0.gem
DELETED
Binary file
|