monokera-sdk 0.27.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.env.example +35 -0
- data/.github/dependabot.yml +44 -0
- data/.github/pull_request_template.md +15 -0
- data/.github/workflows/ci.yml +67 -0
- data/.github/workflows/lint.yml +28 -0
- data/.gitignore +18 -0
- data/.markdownlint.yaml +6 -0
- data/.rspec +1 -0
- data/.rubocop.yml +15 -0
- data/.yamllint.yml +6 -0
- data/.yardopts +6 -0
- data/CHANGELOG.md +166 -0
- data/CODEOWNERS +8 -0
- data/Gemfile +6 -0
- data/Guardfile +19 -0
- data/README.md +37 -0
- data/Rakefile +8 -0
- data/bin/bump +20 -0
- data/bin/console +12 -0
- data/bin/rspec +29 -0
- data/bin/setup +8 -0
- data/build_tools/changelog.rb +52 -0
- data/build_tools/spec/changelog_spec.rb +36 -0
- data/build_tools/spec/fixtures/CHANGELOG.md +11 -0
- data/docs/product_definition.md +48 -0
- data/lib/monokera/sdk.rb +18 -0
- data/lib/monokera/sdk/active_client.rb +44 -0
- data/lib/monokera/sdk/active_model.rb +150 -0
- data/lib/monokera/sdk/active_model_serializer.rb +11 -0
- data/lib/monokera/sdk/active_support_notifications.rb +27 -0
- data/lib/monokera/sdk/billing_service/client.rb +9 -0
- data/lib/monokera/sdk/billing_service/configuration.rb +13 -0
- data/lib/monokera/sdk/billing_service/models/installment_item.rb +17 -0
- data/lib/monokera/sdk/billing_service/models/plan_installment.rb +17 -0
- data/lib/monokera/sdk/cancellation_request.rb +18 -0
- data/lib/monokera/sdk/claim.rb +24 -0
- data/lib/monokera/sdk/claim_service/client.rb +9 -0
- data/lib/monokera/sdk/claim_service/configuration.rb +13 -0
- data/lib/monokera/sdk/claim_service/models/attendant.rb +14 -0
- data/lib/monokera/sdk/claim_service/models/setting.rb +17 -0
- data/lib/monokera/sdk/client_base.rb +113 -0
- data/lib/monokera/sdk/client_deprecation.rb +37 -0
- data/lib/monokera/sdk/client_service/client.rb +9 -0
- data/lib/monokera/sdk/client_service/configuration.rb +13 -0
- data/lib/monokera/sdk/config/gem_inflector.rb +17 -0
- data/lib/monokera/sdk/configuration.rb +57 -0
- data/lib/monokera/sdk/configurator.rb +15 -0
- data/lib/monokera/sdk/consolidated_pricing.rb +9 -0
- data/lib/monokera/sdk/coverage.rb +18 -0
- data/lib/monokera/sdk/credential.rb +18 -0
- data/lib/monokera/sdk/customer.rb +26 -0
- data/lib/monokera/sdk/customer_prospect.rb +24 -0
- data/lib/monokera/sdk/customer_service/client.rb +9 -0
- data/lib/monokera/sdk/customer_service/configuration.rb +13 -0
- data/lib/monokera/sdk/customer_service/models/address.rb +15 -0
- data/lib/monokera/sdk/document.rb +19 -0
- data/lib/monokera/sdk/document_service/client.rb +9 -0
- data/lib/monokera/sdk/document_service/configuration.rb +13 -0
- data/lib/monokera/sdk/endorsed_plan_preview.rb +9 -0
- data/lib/monokera/sdk/endorsement.rb +26 -0
- data/lib/monokera/sdk/error.rb +61 -0
- data/lib/monokera/sdk/good.rb +17 -0
- data/lib/monokera/sdk/hash_model.rb +29 -0
- data/lib/monokera/sdk/middleware/custom_logger_middleware.rb +89 -0
- data/lib/monokera/sdk/middleware/service_middleware.rb +25 -0
- data/lib/monokera/sdk/model.rb +49 -0
- data/lib/monokera/sdk/model/error.rb +14 -0
- data/lib/monokera/sdk/model/error_message.rb +14 -0
- data/lib/monokera/sdk/plan.rb +22 -0
- data/lib/monokera/sdk/policy.rb +32 -0
- data/lib/monokera/sdk/policy_service/client.rb +9 -0
- data/lib/monokera/sdk/policy_service/configuration.rb +13 -0
- data/lib/monokera/sdk/policy_service/models/address.rb +21 -0
- data/lib/monokera/sdk/policy_service/models/document.rb +15 -0
- data/lib/monokera/sdk/policy_service/models/endorsement_operation.rb +15 -0
- data/lib/monokera/sdk/policy_service/models/policy_holder.rb +22 -0
- data/lib/monokera/sdk/policy_service/models/pricing_history.rb +15 -0
- data/lib/monokera/sdk/policy_service/models/setting.rb +15 -0
- data/lib/monokera/sdk/pricing.rb +20 -0
- data/lib/monokera/sdk/pricing_service/client.rb +9 -0
- data/lib/monokera/sdk/pricing_service/configuration.rb +13 -0
- data/lib/monokera/sdk/pricing_service/models/setting.rb +15 -0
- data/lib/monokera/sdk/pricing_snapshot.rb +9 -0
- data/lib/monokera/sdk/product.rb +21 -0
- data/lib/monokera/sdk/product_definition/client.rb +9 -0
- data/lib/monokera/sdk/product_definition/configuration.rb +13 -0
- data/lib/monokera/sdk/product_definition/models/condition.rb +15 -0
- data/lib/monokera/sdk/product_definition/models/deductible.rb +14 -0
- data/lib/monokera/sdk/product_definition/models/limit.rb +16 -0
- data/lib/monokera/sdk/product_definition/models/rate.rb +15 -0
- data/lib/monokera/sdk/product_definition/models/setting.rb +20 -0
- data/lib/monokera/sdk/quote.rb +29 -0
- data/lib/monokera/sdk/quote_service/client.rb +9 -0
- data/lib/monokera/sdk/quote_service/configuration.rb +13 -0
- data/lib/monokera/sdk/quote_service/models/address.rb +21 -0
- data/lib/monokera/sdk/quote_service/models/customer_prospect.rb +23 -0
- data/lib/monokera/sdk/quote_service/models/setting.rb +15 -0
- data/lib/monokera/sdk/resource_not_found.rb +7 -0
- data/lib/monokera/sdk/validity.rb +18 -0
- data/lib/monokera/sdk/version.rb +7 -0
- data/monokera-sdk.gemspec +45 -0
- metadata +423 -0
@@ -0,0 +1,16 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Monokera
|
4
|
+
module SDK
|
5
|
+
module ProductDefinition
|
6
|
+
module Models
|
7
|
+
class Limit < Monokera::SDK::Model
|
8
|
+
attribute :name, String
|
9
|
+
attribute :description, String
|
10
|
+
attribute :minimum, Decimal
|
11
|
+
attribute :maximum, Decimal
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Monokera
|
4
|
+
module SDK
|
5
|
+
module ProductDefinition
|
6
|
+
module Models
|
7
|
+
class Rate < Monokera::SDK::Model
|
8
|
+
attribute :description, String
|
9
|
+
attribute :factor_type, String
|
10
|
+
attribute :value, Decimal
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Monokera
|
4
|
+
module SDK
|
5
|
+
module ProductDefinition
|
6
|
+
module Models
|
7
|
+
class Setting < Monokera::SDK::Model
|
8
|
+
attribute :good_uid, String
|
9
|
+
attribute :coverage_uid, String
|
10
|
+
attribute :price_formula, Hash
|
11
|
+
attribute :waiting_period, Integer
|
12
|
+
attribute :rates, Array[ProductDefinition::Models::Rate]
|
13
|
+
attribute :limits, Array[ProductDefinition::Models::Limit]
|
14
|
+
attribute :deductibles, Array[ProductDefinition::Models::Deductible]
|
15
|
+
attribute :conditions, Array[ProductDefinition::Models::Condition]
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
@@ -0,0 +1,29 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Monokera
|
4
|
+
module SDK
|
5
|
+
class Quote < Monokera::SDK::ActiveModel
|
6
|
+
attribute :id, String
|
7
|
+
attribute :pricing_id, String
|
8
|
+
attribute :product_uid, String
|
9
|
+
attribute :product_version, Integer
|
10
|
+
attribute :status, String
|
11
|
+
attribute :effective_until, DateTime
|
12
|
+
attribute :installments_count, Integer
|
13
|
+
attribute :installments_frequency, String
|
14
|
+
attribute :sarlaft_document_key, String
|
15
|
+
attribute :policy_effective_from, DateTime
|
16
|
+
attribute :policy_effective_until, DateTime
|
17
|
+
attribute :validity_uid, String
|
18
|
+
|
19
|
+
attribute :prospect, QuoteService::Models::CustomerProspect
|
20
|
+
attribute :settings, Array[QuoteService::Models::Setting]
|
21
|
+
|
22
|
+
BASE_ENDPOINT = '/v1/quotes'
|
23
|
+
|
24
|
+
def self.client
|
25
|
+
@client ||= QuoteService::Client.new
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Monokera
|
4
|
+
module SDK
|
5
|
+
module QuoteService
|
6
|
+
module Models
|
7
|
+
class Address < Monokera::SDK::Model
|
8
|
+
attribute :street, String
|
9
|
+
attribute :complement, String
|
10
|
+
attribute :neighborhood, String
|
11
|
+
attribute :city, String
|
12
|
+
attribute :state, String
|
13
|
+
attribute :country, String
|
14
|
+
attribute :zip_code, String
|
15
|
+
attribute :latitude, String
|
16
|
+
attribute :longitude, String
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Monokera
|
4
|
+
module SDK
|
5
|
+
module QuoteService
|
6
|
+
module Models
|
7
|
+
class CustomerProspect < Monokera::SDK::Model
|
8
|
+
attribute :id, String
|
9
|
+
attribute :document_number, String
|
10
|
+
attribute :email, String
|
11
|
+
attribute :name, String
|
12
|
+
attribute :first_name, String
|
13
|
+
attribute :middle_name, String
|
14
|
+
attribute :last_name, String
|
15
|
+
attribute :second_last_name, String
|
16
|
+
attribute :document_type, String
|
17
|
+
attribute :phone, String
|
18
|
+
attribute :address, QuoteService::Models::Address
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Monokera
|
4
|
+
module SDK
|
5
|
+
class Validity < Monokera::SDK::ActiveModel
|
6
|
+
attribute :uid
|
7
|
+
attribute :name
|
8
|
+
attribute :term
|
9
|
+
attribute :amount
|
10
|
+
|
11
|
+
BASE_ENDPOINT = '/v1/validities'
|
12
|
+
|
13
|
+
def self.client
|
14
|
+
@client ||= ProductDefinition::Client.new
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
@@ -0,0 +1,45 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
lib = File.expand_path('lib', __dir__)
|
4
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
5
|
+
require 'monokera/sdk/version'
|
6
|
+
|
7
|
+
Gem::Specification.new do |spec|
|
8
|
+
spec.name = 'monokera-sdk'
|
9
|
+
spec.version = Monokera::SDK::VERSION
|
10
|
+
spec.authors = ['Monokera Developers']
|
11
|
+
spec.email = ['developers@monokera.com']
|
12
|
+
|
13
|
+
spec.summary = 'Monokera Platform SDK'
|
14
|
+
spec.description = 'Clients and models to access Monokera platform microservices and relatives'
|
15
|
+
spec.homepage = 'https://github.com/monokera-tech/monokera-sdk-ruby'
|
16
|
+
|
17
|
+
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
18
|
+
f.match(/^(test|spec|features)\//)
|
19
|
+
end
|
20
|
+
spec.bindir = 'exe'
|
21
|
+
spec.executables = spec.files.grep(/^exe\//) { |f| File.basename(f) }
|
22
|
+
spec.require_paths = ['lib']
|
23
|
+
|
24
|
+
spec.add_runtime_dependency 'actionpack'
|
25
|
+
spec.add_runtime_dependency 'activesupport'
|
26
|
+
spec.add_runtime_dependency 'faraday'
|
27
|
+
spec.add_runtime_dependency 'faraday_middleware'
|
28
|
+
spec.add_runtime_dependency 'flipper'
|
29
|
+
spec.add_runtime_dependency 'inflecto'
|
30
|
+
spec.add_runtime_dependency 'request_id'
|
31
|
+
spec.add_runtime_dependency 'statsd-instrument'
|
32
|
+
spec.add_runtime_dependency 'virtus'
|
33
|
+
spec.add_runtime_dependency 'zeitwerk'
|
34
|
+
|
35
|
+
spec.add_development_dependency 'active_model_serializers', '~> 0.10'
|
36
|
+
spec.add_development_dependency 'bundler'
|
37
|
+
spec.add_development_dependency 'byebug'
|
38
|
+
spec.add_development_dependency 'dotenv', '~> 2.2'
|
39
|
+
spec.add_development_dependency 'gem-release', '~> 2.1.1'
|
40
|
+
spec.add_development_dependency 'guard-rspec'
|
41
|
+
spec.add_development_dependency 'pry', '~> 0.10'
|
42
|
+
spec.add_development_dependency 'rake', '~> 13.0'
|
43
|
+
spec.add_development_dependency 'rspec', '~> 3.0'
|
44
|
+
spec.add_development_dependency 'webmock', '~> 3.0'
|
45
|
+
end
|
metadata
ADDED
@@ -0,0 +1,423 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: monokera-sdk
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.27.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Monokera Developers
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2020-10-10 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: actionpack
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: activesupport
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: faraday
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: faraday_middleware
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: flipper
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: inflecto
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :runtime
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: request_id
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :runtime
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: statsd-instrument
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :runtime
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: virtus
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ">="
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
type: :runtime
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ">="
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: zeitwerk
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - ">="
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '0'
|
146
|
+
type: :runtime
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - ">="
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '0'
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: active_model_serializers
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - "~>"
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '0.10'
|
160
|
+
type: :development
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - "~>"
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '0.10'
|
167
|
+
- !ruby/object:Gem::Dependency
|
168
|
+
name: bundler
|
169
|
+
requirement: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - ">="
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: '0'
|
174
|
+
type: :development
|
175
|
+
prerelease: false
|
176
|
+
version_requirements: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
178
|
+
- - ">="
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: '0'
|
181
|
+
- !ruby/object:Gem::Dependency
|
182
|
+
name: byebug
|
183
|
+
requirement: !ruby/object:Gem::Requirement
|
184
|
+
requirements:
|
185
|
+
- - ">="
|
186
|
+
- !ruby/object:Gem::Version
|
187
|
+
version: '0'
|
188
|
+
type: :development
|
189
|
+
prerelease: false
|
190
|
+
version_requirements: !ruby/object:Gem::Requirement
|
191
|
+
requirements:
|
192
|
+
- - ">="
|
193
|
+
- !ruby/object:Gem::Version
|
194
|
+
version: '0'
|
195
|
+
- !ruby/object:Gem::Dependency
|
196
|
+
name: dotenv
|
197
|
+
requirement: !ruby/object:Gem::Requirement
|
198
|
+
requirements:
|
199
|
+
- - "~>"
|
200
|
+
- !ruby/object:Gem::Version
|
201
|
+
version: '2.2'
|
202
|
+
type: :development
|
203
|
+
prerelease: false
|
204
|
+
version_requirements: !ruby/object:Gem::Requirement
|
205
|
+
requirements:
|
206
|
+
- - "~>"
|
207
|
+
- !ruby/object:Gem::Version
|
208
|
+
version: '2.2'
|
209
|
+
- !ruby/object:Gem::Dependency
|
210
|
+
name: gem-release
|
211
|
+
requirement: !ruby/object:Gem::Requirement
|
212
|
+
requirements:
|
213
|
+
- - "~>"
|
214
|
+
- !ruby/object:Gem::Version
|
215
|
+
version: 2.1.1
|
216
|
+
type: :development
|
217
|
+
prerelease: false
|
218
|
+
version_requirements: !ruby/object:Gem::Requirement
|
219
|
+
requirements:
|
220
|
+
- - "~>"
|
221
|
+
- !ruby/object:Gem::Version
|
222
|
+
version: 2.1.1
|
223
|
+
- !ruby/object:Gem::Dependency
|
224
|
+
name: guard-rspec
|
225
|
+
requirement: !ruby/object:Gem::Requirement
|
226
|
+
requirements:
|
227
|
+
- - ">="
|
228
|
+
- !ruby/object:Gem::Version
|
229
|
+
version: '0'
|
230
|
+
type: :development
|
231
|
+
prerelease: false
|
232
|
+
version_requirements: !ruby/object:Gem::Requirement
|
233
|
+
requirements:
|
234
|
+
- - ">="
|
235
|
+
- !ruby/object:Gem::Version
|
236
|
+
version: '0'
|
237
|
+
- !ruby/object:Gem::Dependency
|
238
|
+
name: pry
|
239
|
+
requirement: !ruby/object:Gem::Requirement
|
240
|
+
requirements:
|
241
|
+
- - "~>"
|
242
|
+
- !ruby/object:Gem::Version
|
243
|
+
version: '0.10'
|
244
|
+
type: :development
|
245
|
+
prerelease: false
|
246
|
+
version_requirements: !ruby/object:Gem::Requirement
|
247
|
+
requirements:
|
248
|
+
- - "~>"
|
249
|
+
- !ruby/object:Gem::Version
|
250
|
+
version: '0.10'
|
251
|
+
- !ruby/object:Gem::Dependency
|
252
|
+
name: rake
|
253
|
+
requirement: !ruby/object:Gem::Requirement
|
254
|
+
requirements:
|
255
|
+
- - "~>"
|
256
|
+
- !ruby/object:Gem::Version
|
257
|
+
version: '13.0'
|
258
|
+
type: :development
|
259
|
+
prerelease: false
|
260
|
+
version_requirements: !ruby/object:Gem::Requirement
|
261
|
+
requirements:
|
262
|
+
- - "~>"
|
263
|
+
- !ruby/object:Gem::Version
|
264
|
+
version: '13.0'
|
265
|
+
- !ruby/object:Gem::Dependency
|
266
|
+
name: rspec
|
267
|
+
requirement: !ruby/object:Gem::Requirement
|
268
|
+
requirements:
|
269
|
+
- - "~>"
|
270
|
+
- !ruby/object:Gem::Version
|
271
|
+
version: '3.0'
|
272
|
+
type: :development
|
273
|
+
prerelease: false
|
274
|
+
version_requirements: !ruby/object:Gem::Requirement
|
275
|
+
requirements:
|
276
|
+
- - "~>"
|
277
|
+
- !ruby/object:Gem::Version
|
278
|
+
version: '3.0'
|
279
|
+
- !ruby/object:Gem::Dependency
|
280
|
+
name: webmock
|
281
|
+
requirement: !ruby/object:Gem::Requirement
|
282
|
+
requirements:
|
283
|
+
- - "~>"
|
284
|
+
- !ruby/object:Gem::Version
|
285
|
+
version: '3.0'
|
286
|
+
type: :development
|
287
|
+
prerelease: false
|
288
|
+
version_requirements: !ruby/object:Gem::Requirement
|
289
|
+
requirements:
|
290
|
+
- - "~>"
|
291
|
+
- !ruby/object:Gem::Version
|
292
|
+
version: '3.0'
|
293
|
+
description: Clients and models to access Monokera platform microservices and relatives
|
294
|
+
email:
|
295
|
+
- developers@monokera.com
|
296
|
+
executables: []
|
297
|
+
extensions: []
|
298
|
+
extra_rdoc_files: []
|
299
|
+
files:
|
300
|
+
- ".env.example"
|
301
|
+
- ".github/dependabot.yml"
|
302
|
+
- ".github/pull_request_template.md"
|
303
|
+
- ".github/workflows/ci.yml"
|
304
|
+
- ".github/workflows/lint.yml"
|
305
|
+
- ".gitignore"
|
306
|
+
- ".markdownlint.yaml"
|
307
|
+
- ".rspec"
|
308
|
+
- ".rubocop.yml"
|
309
|
+
- ".yamllint.yml"
|
310
|
+
- ".yardopts"
|
311
|
+
- CHANGELOG.md
|
312
|
+
- CODEOWNERS
|
313
|
+
- Gemfile
|
314
|
+
- Guardfile
|
315
|
+
- README.md
|
316
|
+
- Rakefile
|
317
|
+
- bin/bump
|
318
|
+
- bin/console
|
319
|
+
- bin/rspec
|
320
|
+
- bin/setup
|
321
|
+
- build_tools/changelog.rb
|
322
|
+
- build_tools/spec/changelog_spec.rb
|
323
|
+
- build_tools/spec/fixtures/CHANGELOG.md
|
324
|
+
- docs/product_definition.md
|
325
|
+
- lib/monokera/sdk.rb
|
326
|
+
- lib/monokera/sdk/active_client.rb
|
327
|
+
- lib/monokera/sdk/active_model.rb
|
328
|
+
- lib/monokera/sdk/active_model_serializer.rb
|
329
|
+
- lib/monokera/sdk/active_support_notifications.rb
|
330
|
+
- lib/monokera/sdk/billing_service/client.rb
|
331
|
+
- lib/monokera/sdk/billing_service/configuration.rb
|
332
|
+
- lib/monokera/sdk/billing_service/models/installment_item.rb
|
333
|
+
- lib/monokera/sdk/billing_service/models/plan_installment.rb
|
334
|
+
- lib/monokera/sdk/cancellation_request.rb
|
335
|
+
- lib/monokera/sdk/claim.rb
|
336
|
+
- lib/monokera/sdk/claim_service/client.rb
|
337
|
+
- lib/monokera/sdk/claim_service/configuration.rb
|
338
|
+
- lib/monokera/sdk/claim_service/models/attendant.rb
|
339
|
+
- lib/monokera/sdk/claim_service/models/setting.rb
|
340
|
+
- lib/monokera/sdk/client_base.rb
|
341
|
+
- lib/monokera/sdk/client_deprecation.rb
|
342
|
+
- lib/monokera/sdk/client_service/client.rb
|
343
|
+
- lib/monokera/sdk/client_service/configuration.rb
|
344
|
+
- lib/monokera/sdk/config/gem_inflector.rb
|
345
|
+
- lib/monokera/sdk/configuration.rb
|
346
|
+
- lib/monokera/sdk/configurator.rb
|
347
|
+
- lib/monokera/sdk/consolidated_pricing.rb
|
348
|
+
- lib/monokera/sdk/coverage.rb
|
349
|
+
- lib/monokera/sdk/credential.rb
|
350
|
+
- lib/monokera/sdk/customer.rb
|
351
|
+
- lib/monokera/sdk/customer_prospect.rb
|
352
|
+
- lib/monokera/sdk/customer_service/client.rb
|
353
|
+
- lib/monokera/sdk/customer_service/configuration.rb
|
354
|
+
- lib/monokera/sdk/customer_service/models/address.rb
|
355
|
+
- lib/monokera/sdk/document.rb
|
356
|
+
- lib/monokera/sdk/document_service/client.rb
|
357
|
+
- lib/monokera/sdk/document_service/configuration.rb
|
358
|
+
- lib/monokera/sdk/endorsed_plan_preview.rb
|
359
|
+
- lib/monokera/sdk/endorsement.rb
|
360
|
+
- lib/monokera/sdk/error.rb
|
361
|
+
- lib/monokera/sdk/good.rb
|
362
|
+
- lib/monokera/sdk/hash_model.rb
|
363
|
+
- lib/monokera/sdk/middleware/custom_logger_middleware.rb
|
364
|
+
- lib/monokera/sdk/middleware/service_middleware.rb
|
365
|
+
- lib/monokera/sdk/model.rb
|
366
|
+
- lib/monokera/sdk/model/error.rb
|
367
|
+
- lib/monokera/sdk/model/error_message.rb
|
368
|
+
- lib/monokera/sdk/plan.rb
|
369
|
+
- lib/monokera/sdk/policy.rb
|
370
|
+
- lib/monokera/sdk/policy_service/client.rb
|
371
|
+
- lib/monokera/sdk/policy_service/configuration.rb
|
372
|
+
- lib/monokera/sdk/policy_service/models/address.rb
|
373
|
+
- lib/monokera/sdk/policy_service/models/document.rb
|
374
|
+
- lib/monokera/sdk/policy_service/models/endorsement_operation.rb
|
375
|
+
- lib/monokera/sdk/policy_service/models/policy_holder.rb
|
376
|
+
- lib/monokera/sdk/policy_service/models/pricing_history.rb
|
377
|
+
- lib/monokera/sdk/policy_service/models/setting.rb
|
378
|
+
- lib/monokera/sdk/pricing.rb
|
379
|
+
- lib/monokera/sdk/pricing_service/client.rb
|
380
|
+
- lib/monokera/sdk/pricing_service/configuration.rb
|
381
|
+
- lib/monokera/sdk/pricing_service/models/setting.rb
|
382
|
+
- lib/monokera/sdk/pricing_snapshot.rb
|
383
|
+
- lib/monokera/sdk/product.rb
|
384
|
+
- lib/monokera/sdk/product_definition/client.rb
|
385
|
+
- lib/monokera/sdk/product_definition/configuration.rb
|
386
|
+
- lib/monokera/sdk/product_definition/models/condition.rb
|
387
|
+
- lib/monokera/sdk/product_definition/models/deductible.rb
|
388
|
+
- lib/monokera/sdk/product_definition/models/limit.rb
|
389
|
+
- lib/monokera/sdk/product_definition/models/rate.rb
|
390
|
+
- lib/monokera/sdk/product_definition/models/setting.rb
|
391
|
+
- lib/monokera/sdk/quote.rb
|
392
|
+
- lib/monokera/sdk/quote_service/client.rb
|
393
|
+
- lib/monokera/sdk/quote_service/configuration.rb
|
394
|
+
- lib/monokera/sdk/quote_service/models/address.rb
|
395
|
+
- lib/monokera/sdk/quote_service/models/customer_prospect.rb
|
396
|
+
- lib/monokera/sdk/quote_service/models/setting.rb
|
397
|
+
- lib/monokera/sdk/resource_not_found.rb
|
398
|
+
- lib/monokera/sdk/validity.rb
|
399
|
+
- lib/monokera/sdk/version.rb
|
400
|
+
- monokera-sdk.gemspec
|
401
|
+
homepage: https://github.com/monokera-tech/monokera-sdk-ruby
|
402
|
+
licenses: []
|
403
|
+
metadata: {}
|
404
|
+
post_install_message:
|
405
|
+
rdoc_options: []
|
406
|
+
require_paths:
|
407
|
+
- lib
|
408
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
409
|
+
requirements:
|
410
|
+
- - ">="
|
411
|
+
- !ruby/object:Gem::Version
|
412
|
+
version: '0'
|
413
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
414
|
+
requirements:
|
415
|
+
- - ">="
|
416
|
+
- !ruby/object:Gem::Version
|
417
|
+
version: '0'
|
418
|
+
requirements: []
|
419
|
+
rubygems_version: 3.1.2
|
420
|
+
signing_key:
|
421
|
+
specification_version: 4
|
422
|
+
summary: Monokera Platform SDK
|
423
|
+
test_files: []
|