smplkit 3.0.62 → 3.0.63

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8a16854761067b9d18a349d6982c4129c16969763ab4c12c03ff6ab980684dc2
4
- data.tar.gz: 9149f6dd070aad95584fba15b9d7ced15b1e1103ef2a845d304854c03a51da6a
3
+ metadata.gz: eaf66d8a5e432e9502bd3a088752a03406e718c633c42efa6e0d31d782a8ef76
4
+ data.tar.gz: b808fb87c3a6c739b1897de87d96e75cf906f6df5e4cc0ac2766f26797434196
5
5
  SHA512:
6
- metadata.gz: e0e8b2682927ea7583c263c93f9304c268a46d8b04c0763a17d484121fa263c52283e2cdec95b2465ad5e9c1e6a242bc67065ce8cbf409e9cd225f9ded662a1f
7
- data.tar.gz: 188a87a5c388d4ebc7277dcdef51633c01fc244e58c5bb53b560ee4d2a602afffc5128c079aa523b7a1135ca9fa831898be4861b8ab1736da84f29f9d3c0ec01
6
+ metadata.gz: b9632f2b253f62b38b9f56b82969d557b9e7f045f68b6f6ab7e53476ff68741d4d547f9e33bd763efbfab1e9f4dd917abb69fe1c33398efa1e44f18f5d407ace
7
+ data.tar.gz: 29dbddba4b2cb26824ef9edabfbbc0fff82285882189bf0794e3d21f56b93d0584ce79e98f32baeb2092d41fa96a441615c5442e6de58a3329f7eba01b6c391d
@@ -28,7 +28,7 @@ module SmplkitGeneratedClient::Config
28
28
  # Map of item keys to item definitions declared on this config. Keys must be unique within the config; declared types are immutable once set and must match any type declared for the same key on an ancestor.
29
29
  attr_accessor :items
30
30
 
31
- # Map of environment keys to per-environment override sets. An environment override applies when this config is resolved against that environment.
31
+ # Map of environment keys to per-environment overrides. Each environment maps to a flat object of item key to override value (e.g. `{\"production\": {\"database.host\": \"db-prod.internal\"}}`). Only the keys being overridden need to be present. Override values must conform to the item's declared `type`; `type` and `description` are always resolved from the defining configuration and are never redeclared on an override.
32
32
  attr_accessor :environments
33
33
 
34
34
  # Whether this config is admin-managed (`true`) or auto-discovered by an SDK and not yet claimed (`false`). Configs created through the console or `POST /api/v1/configs` are always managed. Configs registered via `POST /api/v1/configs/bulk` land unmanaged. Setting this field to `true` on a PUT promotes a discovered config to managed, which consumes a slot of the `config.managed_configurations` entitlement.
@@ -71,7 +71,7 @@ module SmplkitGeneratedClient::Config
71
71
  :'description' => :'String',
72
72
  :'parent' => :'String',
73
73
  :'items' => :'Hash<String, ConfigItemDefinition>',
74
- :'environments' => :'Hash<String, EnvironmentOverride>',
74
+ :'environments' => :'Hash<String, Hash<String, Object>>',
75
75
  :'managed' => :'Boolean',
76
76
  :'created_at' => :'Time',
77
77
  :'updated_at' => :'Time'
@@ -25,12 +25,10 @@ require 'smplkit_config_client/models/config_bulk_response'
25
25
  require 'smplkit_config_client/models/config_create_request'
26
26
  require 'smplkit_config_client/models/config_create_resource'
27
27
  require 'smplkit_config_client/models/config_item_definition'
28
- require 'smplkit_config_client/models/config_item_override'
29
28
  require 'smplkit_config_client/models/config_list_response'
30
29
  require 'smplkit_config_client/models/config_request'
31
30
  require 'smplkit_config_client/models/config_resource'
32
31
  require 'smplkit_config_client/models/config_response'
33
- require 'smplkit_config_client/models/environment_override'
34
32
  require 'smplkit_config_client/models/list_meta'
35
33
  require 'smplkit_config_client/models/pagination_meta'
36
34
  require 'smplkit_config_client/models/usage_attributes'
@@ -22,7 +22,9 @@ module Smplkit
22
22
  end
23
23
 
24
24
  environments = (attrs["environments"] || {}).each_with_object({}) do |(env, env_data), out|
25
- env_values = env_data.is_a?(Hash) ? (env_data["values"] || {}) : {}
25
+ # Per ADR-024 §2.4 env_data is already the flat override map
26
+ # +{key: rawValue}+ — the old +{values: {...}}+ envelope is gone.
27
+ env_values = env_data.is_a?(Hash) ? env_data : {}
26
28
  out[env] = ConfigEnvironment.new(values: env_values)
27
29
  end
28
30
 
@@ -88,7 +90,9 @@ module Smplkit
88
90
  { "value" => item.value, "type" => item.type, "description" => item.description }.compact]
89
91
  end
90
92
  environments = config.environments.each_with_object({}) do |(env_key, env_obj), out|
91
- out[env_key] = { "values" => env_obj.values_raw }
93
+ # Per ADR-024 §2.4 env entries are flat +{key: rawValue}+ maps —
94
+ # no +values+ envelope, no per-key type wrapper.
95
+ out[env_key] = env_obj.values
92
96
  end
93
97
  { "id" => config.id, "items" => items_hash, "environments" => environments }
94
98
  end
@@ -102,9 +106,10 @@ module Smplkit
102
106
  chain.reverse_each do |config_data|
103
107
  raw_items = config_data["items"] || config_data["values"] || {}
104
108
  base_values = unwrap_items(raw_items)
109
+ # Per ADR-024 §2.4 env entries are flat +{key: rawValue}+ maps —
110
+ # the resolver reads the env entry directly as the override map.
105
111
  env_data = (config_data["environments"] || {})[environment] || {}
106
- env_raw = env_data.is_a?(Hash) ? (env_data["values"] || {}) : {}
107
- env_values = unwrap_items(env_raw)
112
+ env_values = env_data.is_a?(Hash) ? env_data : {}
108
113
  config_resolved = deep_merge(base_values, env_values)
109
114
  accumulated = deep_merge(accumulated, config_resolved)
110
115
  end
@@ -41,26 +41,32 @@ module Smplkit
41
41
  # Read-only inspection container. Mutation is performed via +Config+'s
42
42
  # setters with +environment:+ (e.g.
43
43
  # +cfg.set_string("k", "v", environment: "production")+).
44
+ #
45
+ # Per ADR-024 §2.4 the wire shape for env overrides is flat —
46
+ # +{env: {key: rawValue}}+ — so the in-memory representation is
47
+ # simply a Hash of raw values, with no typed wrapper.
44
48
  class ConfigEnvironment
45
49
  def initialize(values: nil)
46
50
  @values_raw = {}
47
51
  return unless values
48
52
 
49
53
  values.each do |k, v|
50
- @values_raw[k] = v.is_a?(Hash) && v.key?("value") ? v : { "value" => v }
54
+ # Tolerate a legacy +{ "value" => raw, "type" => t }+ wrapper in
55
+ # case a caller passes the old shape; unwrap to the raw value.
56
+ @values_raw[k] = v.is_a?(Hash) && v.key?("value") ? v["value"] : v
51
57
  end
52
58
  end
53
59
 
54
60
  # Returns overrides as a plain Hash +{ "key" => raw_value }+.
55
61
  def values
56
- @values_raw.transform_values { |v| v["value"] }
62
+ @values_raw.dup
57
63
  end
58
64
 
59
- # Returns the full typed overrides
60
- # +{ "key" => { "value" => v, "type" => t, "description" => d } }+
61
- # (read-only deep copy).
65
+ # Returns overrides as a plain Hash +{ "key" => raw_value }+. Retained
66
+ # as a separate accessor for backward compatibility; identical to
67
+ # +values+ now that env overrides are stored flat.
62
68
  def values_raw
63
- @values_raw.transform_values { |v| v.is_a?(Hash) ? v.dup : v }
69
+ @values_raw.dup
64
70
  end
65
71
 
66
72
  def _replace_raw(values)
@@ -175,9 +181,11 @@ module Smplkit
175
181
  @items << ConfigItem.new(name: name, value: value, type: type, description: description)
176
182
  end
177
183
  else
184
+ # Per ADR-024 §2.4 env overrides carry the raw value only — type
185
+ # and description live on the base item, not on the override.
178
186
  env = (@environments[environment] ||= ConfigEnvironment.new)
179
187
  raw = env.values_raw
180
- raw[name] = { "value" => value, "type" => type, "description" => description }.compact
188
+ raw[name] = value
181
189
  env._replace_raw(raw)
182
190
  end
183
191
  self
@@ -666,14 +666,12 @@ module Smplkit
666
666
  def config_envs_to_wire(environments)
667
667
  return nil if environments.empty?
668
668
 
669
- # ConfigItemOverride only carries +value+ on the wire environment
670
- # overrides override the value, not the type or description.
669
+ # Per ADR-024 §2.4 the wire shape for env overrides is a flat
670
+ # +{env: {key: rawValue}}+ map — no envelope, no per-key type
671
+ # wrapper. The generated +Config.environments+ attribute accepts
672
+ # +Hash<String, Hash<String, Object>>+ directly.
671
673
  environments.each_with_object({}) do |(env_key, env_obj), out|
672
- values = env_obj.values_raw.each_with_object({}) do |(k, v), inner|
673
- v_hash = v.is_a?(Hash) ? v : { "value" => v }
674
- inner[k] = SmplkitGeneratedClient::Config::ConfigItemOverride.new(value: v_hash["value"])
675
- end
676
- out[env_key] = SmplkitGeneratedClient::Config::EnvironmentOverride.new(values: values)
674
+ out[env_key] = env_obj.values
677
675
  end
678
676
  end
679
677
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smplkit
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.62
4
+ version: 3.0.63
5
5
  platform: ruby
6
6
  authors:
7
7
  - Smpl Solutions LLC
@@ -569,12 +569,10 @@ files:
569
569
  - lib/smplkit/_generated/config/lib/smplkit_config_client/models/config_create_request.rb
570
570
  - lib/smplkit/_generated/config/lib/smplkit_config_client/models/config_create_resource.rb
571
571
  - lib/smplkit/_generated/config/lib/smplkit_config_client/models/config_item_definition.rb
572
- - lib/smplkit/_generated/config/lib/smplkit_config_client/models/config_item_override.rb
573
572
  - lib/smplkit/_generated/config/lib/smplkit_config_client/models/config_list_response.rb
574
573
  - lib/smplkit/_generated/config/lib/smplkit_config_client/models/config_request.rb
575
574
  - lib/smplkit/_generated/config/lib/smplkit_config_client/models/config_resource.rb
576
575
  - lib/smplkit/_generated/config/lib/smplkit_config_client/models/config_response.rb
577
- - lib/smplkit/_generated/config/lib/smplkit_config_client/models/environment_override.rb
578
576
  - lib/smplkit/_generated/config/lib/smplkit_config_client/models/list_meta.rb
579
577
  - lib/smplkit/_generated/config/lib/smplkit_config_client/models/pagination_meta.rb
580
578
  - lib/smplkit/_generated/config/lib/smplkit_config_client/models/usage_attributes.rb
@@ -589,13 +587,11 @@ files:
589
587
  - lib/smplkit/_generated/config/spec/models/config_create_request_spec.rb
590
588
  - lib/smplkit/_generated/config/spec/models/config_create_resource_spec.rb
591
589
  - lib/smplkit/_generated/config/spec/models/config_item_definition_spec.rb
592
- - lib/smplkit/_generated/config/spec/models/config_item_override_spec.rb
593
590
  - lib/smplkit/_generated/config/spec/models/config_list_response_spec.rb
594
591
  - lib/smplkit/_generated/config/spec/models/config_request_spec.rb
595
592
  - lib/smplkit/_generated/config/spec/models/config_resource_spec.rb
596
593
  - lib/smplkit/_generated/config/spec/models/config_response_spec.rb
597
594
  - lib/smplkit/_generated/config/spec/models/config_spec.rb
598
- - lib/smplkit/_generated/config/spec/models/environment_override_spec.rb
599
595
  - lib/smplkit/_generated/config/spec/models/list_meta_spec.rb
600
596
  - lib/smplkit/_generated/config/spec/models/pagination_meta_spec.rb
601
597
  - lib/smplkit/_generated/config/spec/models/usage_attributes_spec.rb
@@ -1,149 +0,0 @@
1
- =begin
2
- #smplkit Config API
3
-
4
- #Configuration management API for smplkit.
5
-
6
- The version of the OpenAPI document: 0.1.0
7
-
8
- Generated by: https://openapi-generator.tech
9
- Generator version: 7.22.0
10
-
11
- =end
12
-
13
- require 'date'
14
- require 'time'
15
-
16
- module SmplkitGeneratedClient::Config
17
- # Per-environment override of a single item value.
18
- class ConfigItemOverride < ApiModelBase
19
- attr_accessor :value
20
-
21
- # Attribute mapping from ruby-style variable name to JSON key.
22
- def self.attribute_map
23
- {
24
- :'value' => :'value'
25
- }
26
- end
27
-
28
- # Returns attribute mapping this model knows about
29
- def self.acceptable_attribute_map
30
- attribute_map
31
- end
32
-
33
- # Returns all the JSON keys this model knows about
34
- def self.acceptable_attributes
35
- acceptable_attribute_map.values
36
- end
37
-
38
- # Attribute type mapping.
39
- def self.openapi_types
40
- {
41
- :'value' => :'Object'
42
- }
43
- end
44
-
45
- # List of attributes with nullable: true
46
- def self.openapi_nullable
47
- Set.new([
48
- :'value'
49
- ])
50
- end
51
-
52
- # Initializes the object
53
- # @param [Hash] attributes Model attributes in the form of hash
54
- def initialize(attributes = {})
55
- if (!attributes.is_a?(Hash))
56
- fail ArgumentError, "The input argument (attributes) must be a hash in `SmplkitGeneratedClient::Config::ConfigItemOverride` initialize method"
57
- end
58
-
59
- # check to see if the attribute exists and convert string to symbol for hash key
60
- acceptable_attribute_map = self.class.acceptable_attribute_map
61
- attributes = attributes.each_with_object({}) { |(k, v), h|
62
- if (!acceptable_attribute_map.key?(k.to_sym))
63
- fail ArgumentError, "`#{k}` is not a valid attribute in `SmplkitGeneratedClient::Config::ConfigItemOverride`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
64
- end
65
- h[k.to_sym] = v
66
- }
67
-
68
- if attributes.key?(:'value')
69
- self.value = attributes[:'value']
70
- end
71
- end
72
-
73
- # Show invalid properties with the reasons. Usually used together with valid?
74
- # @return Array for valid properties with the reasons
75
- def list_invalid_properties
76
- warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
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
- warn '[DEPRECATED] the `valid?` method is obsolete'
85
- true
86
- end
87
-
88
- # Checks equality by comparing each attribute.
89
- # @param [Object] Object to be compared
90
- def ==(o)
91
- return true if self.equal?(o)
92
- self.class == o.class &&
93
- value == o.value
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
- [value].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
- return nil unless attributes.is_a?(Hash)
113
- attributes = attributes.transform_keys(&:to_sym)
114
- transformed_hash = {}
115
- openapi_types.each_pair do |key, type|
116
- if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
117
- transformed_hash["#{key}"] = nil
118
- elsif type =~ /\AArray<(.*)>/i
119
- # check to ensure the input is an array given that the attribute
120
- # is documented as an array but the input is not
121
- if attributes[attribute_map[key]].is_a?(Array)
122
- transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
123
- end
124
- elsif !attributes[attribute_map[key]].nil?
125
- transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
126
- end
127
- end
128
- new(transformed_hash)
129
- end
130
-
131
- # Returns the object in the form of hash
132
- # @return [Hash] Returns the object in the form of hash
133
- def to_hash
134
- hash = {}
135
- self.class.attribute_map.each_pair do |attr, param|
136
- value = self.send(attr)
137
- if value.nil?
138
- is_nullable = self.class.openapi_nullable.include?(attr)
139
- next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
140
- end
141
-
142
- hash[param] = _to_hash(value)
143
- end
144
- hash
145
- end
146
-
147
- end
148
-
149
- end
@@ -1,152 +0,0 @@
1
- =begin
2
- #smplkit Config API
3
-
4
- #Configuration management API for smplkit.
5
-
6
- The version of the OpenAPI document: 0.1.0
7
-
8
- Generated by: https://openapi-generator.tech
9
- Generator version: 7.22.0
10
-
11
- =end
12
-
13
- require 'date'
14
- require 'time'
15
-
16
- module SmplkitGeneratedClient::Config
17
- # Per-environment override set for a config.
18
- class EnvironmentOverride < ApiModelBase
19
- # Map of item keys to override values that apply when this environment is resolved. Each key must already be declared (with a type) on this config or one of its ancestors.
20
- attr_accessor :values
21
-
22
- # Attribute mapping from ruby-style variable name to JSON key.
23
- def self.attribute_map
24
- {
25
- :'values' => :'values'
26
- }
27
- end
28
-
29
- # Returns attribute mapping this model knows about
30
- def self.acceptable_attribute_map
31
- attribute_map
32
- end
33
-
34
- # Returns all the JSON keys this model knows about
35
- def self.acceptable_attributes
36
- acceptable_attribute_map.values
37
- end
38
-
39
- # Attribute type mapping.
40
- def self.openapi_types
41
- {
42
- :'values' => :'Hash<String, ConfigItemOverride>'
43
- }
44
- end
45
-
46
- # List of attributes with nullable: true
47
- def self.openapi_nullable
48
- Set.new([
49
- :'values'
50
- ])
51
- end
52
-
53
- # Initializes the object
54
- # @param [Hash] attributes Model attributes in the form of hash
55
- def initialize(attributes = {})
56
- if (!attributes.is_a?(Hash))
57
- fail ArgumentError, "The input argument (attributes) must be a hash in `SmplkitGeneratedClient::Config::EnvironmentOverride` initialize method"
58
- end
59
-
60
- # check to see if the attribute exists and convert string to symbol for hash key
61
- acceptable_attribute_map = self.class.acceptable_attribute_map
62
- attributes = attributes.each_with_object({}) { |(k, v), h|
63
- if (!acceptable_attribute_map.key?(k.to_sym))
64
- fail ArgumentError, "`#{k}` is not a valid attribute in `SmplkitGeneratedClient::Config::EnvironmentOverride`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
65
- end
66
- h[k.to_sym] = v
67
- }
68
-
69
- if attributes.key?(:'values')
70
- if (value = attributes[:'values']).is_a?(Hash)
71
- self.values = value
72
- end
73
- end
74
- end
75
-
76
- # Show invalid properties with the reasons. Usually used together with valid?
77
- # @return Array for valid properties with the reasons
78
- def list_invalid_properties
79
- warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
80
- invalid_properties = Array.new
81
- invalid_properties
82
- end
83
-
84
- # Check to see if the all the properties in the model are valid
85
- # @return true if the model is valid
86
- def valid?
87
- warn '[DEPRECATED] the `valid?` method is obsolete'
88
- true
89
- end
90
-
91
- # Checks equality by comparing each attribute.
92
- # @param [Object] Object to be compared
93
- def ==(o)
94
- return true if self.equal?(o)
95
- self.class == o.class &&
96
- values == o.values
97
- end
98
-
99
- # @see the `==` method
100
- # @param [Object] Object to be compared
101
- def eql?(o)
102
- self == o
103
- end
104
-
105
- # Calculates hash code according to all attributes.
106
- # @return [Integer] Hash code
107
- def hash
108
- [values].hash
109
- end
110
-
111
- # Builds the object from hash
112
- # @param [Hash] attributes Model attributes in the form of hash
113
- # @return [Object] Returns the model itself
114
- def self.build_from_hash(attributes)
115
- return nil unless attributes.is_a?(Hash)
116
- attributes = attributes.transform_keys(&:to_sym)
117
- transformed_hash = {}
118
- openapi_types.each_pair do |key, type|
119
- if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
120
- transformed_hash["#{key}"] = nil
121
- elsif type =~ /\AArray<(.*)>/i
122
- # check to ensure the input is an array given that the attribute
123
- # is documented as an array but the input is not
124
- if attributes[attribute_map[key]].is_a?(Array)
125
- transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
126
- end
127
- elsif !attributes[attribute_map[key]].nil?
128
- transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
129
- end
130
- end
131
- new(transformed_hash)
132
- end
133
-
134
- # Returns the object in the form of hash
135
- # @return [Hash] Returns the object in the form of hash
136
- def to_hash
137
- hash = {}
138
- self.class.attribute_map.each_pair do |attr, param|
139
- value = self.send(attr)
140
- if value.nil?
141
- is_nullable = self.class.openapi_nullable.include?(attr)
142
- next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
143
- end
144
-
145
- hash[param] = _to_hash(value)
146
- end
147
- hash
148
- end
149
-
150
- end
151
-
152
- end
@@ -1,36 +0,0 @@
1
- =begin
2
- #smplkit Config API
3
-
4
- #Configuration management API for smplkit.
5
-
6
- The version of the OpenAPI document: 0.1.0
7
-
8
- Generated by: https://openapi-generator.tech
9
- Generator version: 7.22.0
10
-
11
- =end
12
-
13
- require 'spec_helper'
14
- require 'json'
15
- require 'date'
16
-
17
- # Unit tests for SmplkitGeneratedClient::Config::ConfigItemOverride
18
- # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
- # Please update as you see appropriate
20
- describe SmplkitGeneratedClient::Config::ConfigItemOverride do
21
- #let(:instance) { SmplkitGeneratedClient::Config::ConfigItemOverride.new }
22
-
23
- describe 'test an instance of ConfigItemOverride' do
24
- it 'should create an instance of ConfigItemOverride' do
25
- # uncomment below to test the instance creation
26
- #expect(instance).to be_instance_of(SmplkitGeneratedClient::Config::ConfigItemOverride)
27
- end
28
- end
29
-
30
- describe 'test attribute "value"' do
31
- it 'should work' do
32
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
- end
34
- end
35
-
36
- end
@@ -1,36 +0,0 @@
1
- =begin
2
- #smplkit Config API
3
-
4
- #Configuration management API for smplkit.
5
-
6
- The version of the OpenAPI document: 0.1.0
7
-
8
- Generated by: https://openapi-generator.tech
9
- Generator version: 7.22.0
10
-
11
- =end
12
-
13
- require 'spec_helper'
14
- require 'json'
15
- require 'date'
16
-
17
- # Unit tests for SmplkitGeneratedClient::Config::EnvironmentOverride
18
- # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
- # Please update as you see appropriate
20
- describe SmplkitGeneratedClient::Config::EnvironmentOverride do
21
- #let(:instance) { SmplkitGeneratedClient::Config::EnvironmentOverride.new }
22
-
23
- describe 'test an instance of EnvironmentOverride' do
24
- it 'should create an instance of EnvironmentOverride' do
25
- # uncomment below to test the instance creation
26
- #expect(instance).to be_instance_of(SmplkitGeneratedClient::Config::EnvironmentOverride)
27
- end
28
- end
29
-
30
- describe 'test attribute "values"' do
31
- it 'should work' do
32
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
- end
34
- end
35
-
36
- end