smplkit 1.0.15 → 1.0.16

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: d5d5ed1af296c517f09ddd0a76660b157184f3bb763a61ae0fcf727c1a3f5a87
4
- data.tar.gz: 487bcd0200af912fcbb1acdf52967e87bf485c1b1ced27fb564cfc96ac4ee41b
3
+ metadata.gz: 99035d7c61e862475d8e1d5ee5db3fab24c59d14d2ef409cf46d89354c1203fa
4
+ data.tar.gz: b4d498de8b004ffa1b1546cdee62101779764e999fa0dea1a7fea542441ddd59
5
5
  SHA512:
6
- metadata.gz: 78bd324f3ab4c18732cf2a0a4bbef41f761ebf347501d721b941083ee4a06657bbd5f3c48e0113e63522515ed5b15566b47ecc727613925b8df866b4459d4f6e
7
- data.tar.gz: f66aa64fdd45800335739c0d5a8fda29e4b8c51d70c94f5412ee1bdc44f09d161ded9eefd5c9252f438796c2063d53dcdad870dd949b4d2872b9751b6c54d974
6
+ metadata.gz: 82ff49d99ff687b5362c5588dc493655b1cc3308f93e1da8fd80ee0eb1a75c0537c382c78a7f75105d04b7adc652ad25d252e4ae6bd987edeb75b67cf07a482c
7
+ data.tar.gz: aa729bcdf21317113547e7db5debb143592bb263f34c38a29a6aba94caa02a93a0f7591ac6fa85bcc3a952f9b0312cf131d289af4580ac2b55f8e1fa38d68206
@@ -20,7 +20,7 @@ module SmplkitGeneratedClient::App
20
20
  @api_client = api_client
21
21
  end
22
22
  # List Products
23
- # Return all flag-enabled products with their plans and limits.
23
+ # Return all flag-enabled products with their plans, limits, and marketing content.
24
24
  # @param [Hash] opts the optional parameters
25
25
  # @return [ProductListResponse]
26
26
  def list_products(opts = {})
@@ -29,7 +29,7 @@ module SmplkitGeneratedClient::App
29
29
  end
30
30
 
31
31
  # List Products
32
- # Return all flag-enabled products with their plans and limits.
32
+ # Return all flag-enabled products with their plans, limits, and marketing content.
33
33
  # @param [Hash] opts the optional parameters
34
34
  # @return [Array<(ProductListResponse, Integer, Hash)>] ProductListResponse data, response status code and response headers
35
35
  def list_products_with_http_info(opts = {})
@@ -19,6 +19,10 @@ module SmplkitGeneratedClient::App
19
19
 
20
20
  attr_accessor :description
21
21
 
22
+ attr_accessor :tagline
23
+
24
+ attr_accessor :features
25
+
22
26
  attr_accessor :coming_soon
23
27
 
24
28
  attr_accessor :limits
@@ -30,6 +34,8 @@ module SmplkitGeneratedClient::App
30
34
  {
31
35
  :'display_name' => :'display_name',
32
36
  :'description' => :'description',
37
+ :'tagline' => :'tagline',
38
+ :'features' => :'features',
33
39
  :'coming_soon' => :'coming_soon',
34
40
  :'limits' => :'limits',
35
41
  :'plans' => :'plans'
@@ -51,6 +57,8 @@ module SmplkitGeneratedClient::App
51
57
  {
52
58
  :'display_name' => :'String',
53
59
  :'description' => :'String',
60
+ :'tagline' => :'String',
61
+ :'features' => :'Array<String>',
54
62
  :'coming_soon' => :'Boolean',
55
63
  :'limits' => :'Hash<String, LimitDefinition>',
56
64
  :'plans' => :'Hash<String, PlanDefinition>'
@@ -60,6 +68,7 @@ module SmplkitGeneratedClient::App
60
68
  # List of attributes with nullable: true
61
69
  def self.openapi_nullable
62
70
  Set.new([
71
+ :'tagline',
63
72
  ])
64
73
  end
65
74
 
@@ -91,6 +100,16 @@ module SmplkitGeneratedClient::App
91
100
  self.description = nil
92
101
  end
93
102
 
103
+ if attributes.key?(:'tagline')
104
+ self.tagline = attributes[:'tagline']
105
+ end
106
+
107
+ if attributes.key?(:'features')
108
+ if (value = attributes[:'features']).is_a?(Array)
109
+ self.features = value
110
+ end
111
+ end
112
+
94
113
  if attributes.key?(:'coming_soon')
95
114
  self.coming_soon = attributes[:'coming_soon']
96
115
  else
@@ -196,6 +215,8 @@ module SmplkitGeneratedClient::App
196
215
  self.class == o.class &&
197
216
  display_name == o.display_name &&
198
217
  description == o.description &&
218
+ tagline == o.tagline &&
219
+ features == o.features &&
199
220
  coming_soon == o.coming_soon &&
200
221
  limits == o.limits &&
201
222
  plans == o.plans
@@ -210,7 +231,7 @@ module SmplkitGeneratedClient::App
210
231
  # Calculates hash code according to all attributes.
211
232
  # @return [Integer] Hash code
212
233
  def hash
213
- [display_name, description, coming_soon, limits, plans].hash
234
+ [display_name, description, tagline, features, coming_soon, limits, plans].hash
214
235
  end
215
236
 
216
237
  # Builds the object from hash
@@ -34,7 +34,7 @@ describe 'ProductsApi' do
34
34
 
35
35
  # unit tests for list_products
36
36
  # List Products
37
- # Return all flag-enabled products with their plans and limits.
37
+ # Return all flag-enabled products with their plans, limits, and marketing content.
38
38
  # @param [Hash] opts the optional parameters
39
39
  # @return [ProductListResponse]
40
40
  describe 'list_products test' do
@@ -39,6 +39,18 @@ describe SmplkitGeneratedClient::App::Product do
39
39
  end
40
40
  end
41
41
 
42
+ describe 'test attribute "tagline"' do
43
+ it 'should work' do
44
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
45
+ end
46
+ end
47
+
48
+ describe 'test attribute "features"' do
49
+ it 'should work' do
50
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
51
+ end
52
+ end
53
+
42
54
  describe 'test attribute "coming_soon"' do
43
55
  it 'should work' do
44
56
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
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: 1.0.15
4
+ version: 1.0.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Smpl Solutions LLC