yalla_auth_ruby_client 1.0.0

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.
Files changed (40) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +9 -0
  3. data/README.md +111 -0
  4. data/Rakefile +10 -0
  5. data/docs/App.md +32 -0
  6. data/docs/AppsApi.md +399 -0
  7. data/docs/AuthApi.md +70 -0
  8. data/docs/AuthValidateTokenGet200Response.md +20 -0
  9. data/docs/Role.md +34 -0
  10. data/docs/User.md +30 -0
  11. data/docs/UserAppAdd.md +18 -0
  12. data/docs/UserRoleAdd.md +24 -0
  13. data/docs/UsersApi.md +531 -0
  14. data/git_push.sh +57 -0
  15. data/lib/openapi_client/api/apps_api.rb +439 -0
  16. data/lib/openapi_client/api/auth_api.rb +84 -0
  17. data/lib/openapi_client/api/users_api.rb +587 -0
  18. data/lib/openapi_client/api_client.rb +392 -0
  19. data/lib/openapi_client/api_error.rb +58 -0
  20. data/lib/openapi_client/configuration.rb +311 -0
  21. data/lib/openapi_client/models/app.rb +283 -0
  22. data/lib/openapi_client/models/auth_validate_token_get200_response.rb +229 -0
  23. data/lib/openapi_client/models/role.rb +292 -0
  24. data/lib/openapi_client/models/user.rb +274 -0
  25. data/lib/openapi_client/models/user_app_add.rb +220 -0
  26. data/lib/openapi_client/models/user_role_add.rb +247 -0
  27. data/lib/openapi_client/version.rb +15 -0
  28. data/lib/openapi_client.rb +48 -0
  29. data/spec/api/apps_api_spec.rb +108 -0
  30. data/spec/api/auth_api_spec.rb +46 -0
  31. data/spec/api/users_api_spec.rb +134 -0
  32. data/spec/models/app_spec.rb +78 -0
  33. data/spec/models/auth_validate_token_get200_response_spec.rb +42 -0
  34. data/spec/models/role_spec.rb +84 -0
  35. data/spec/models/user_app_add_spec.rb +36 -0
  36. data/spec/models/user_role_add_spec.rb +54 -0
  37. data/spec/models/user_spec.rb +72 -0
  38. data/spec/spec_helper.rb +111 -0
  39. data/yalla_auth_ruby_client.gemspec +39 -0
  40. metadata +128 -0
@@ -0,0 +1,247 @@
1
+ =begin
2
+ #API V1
3
+
4
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+
6
+ The version of the OpenAPI document: v1
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.12.0
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module OpenapiClient
17
+ class UserRoleAdd
18
+ attr_accessor :role
19
+
20
+ attr_accessor :app
21
+
22
+ attr_accessor :related_user
23
+
24
+ attr_accessor :related_role
25
+
26
+ # Attribute mapping from ruby-style variable name to JSON key.
27
+ def self.attribute_map
28
+ {
29
+ :'role' => :'role',
30
+ :'app' => :'app',
31
+ :'related_user' => :'related_user',
32
+ :'related_role' => :'related_role'
33
+ }
34
+ end
35
+
36
+ # Returns attribute mapping this model knows about
37
+ def self.acceptable_attribute_map
38
+ attribute_map
39
+ end
40
+
41
+ # Returns all the JSON keys this model knows about
42
+ def self.acceptable_attributes
43
+ acceptable_attribute_map.values
44
+ end
45
+
46
+ # Attribute type mapping.
47
+ def self.openapi_types
48
+ {
49
+ :'role' => :'String',
50
+ :'app' => :'String',
51
+ :'related_user' => :'String',
52
+ :'related_role' => :'String'
53
+ }
54
+ end
55
+
56
+ # List of attributes with nullable: true
57
+ def self.openapi_nullable
58
+ Set.new([
59
+ ])
60
+ end
61
+
62
+ # Initializes the object
63
+ # @param [Hash] attributes Model attributes in the form of hash
64
+ def initialize(attributes = {})
65
+ if (!attributes.is_a?(Hash))
66
+ fail ArgumentError, "The input argument (attributes) must be a hash in `OpenapiClient::UserRoleAdd` initialize method"
67
+ end
68
+
69
+ # check to see if the attribute exists and convert string to symbol for hash key
70
+ acceptable_attribute_map = self.class.acceptable_attribute_map
71
+ attributes = attributes.each_with_object({}) { |(k, v), h|
72
+ if (!acceptable_attribute_map.key?(k.to_sym))
73
+ fail ArgumentError, "`#{k}` is not a valid attribute in `OpenapiClient::UserRoleAdd`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
74
+ end
75
+ h[k.to_sym] = v
76
+ }
77
+
78
+ if attributes.key?(:'role')
79
+ self.role = attributes[:'role']
80
+ end
81
+
82
+ if attributes.key?(:'app')
83
+ self.app = attributes[:'app']
84
+ end
85
+
86
+ if attributes.key?(:'related_user')
87
+ self.related_user = attributes[:'related_user']
88
+ end
89
+
90
+ if attributes.key?(:'related_role')
91
+ self.related_role = attributes[:'related_role']
92
+ end
93
+ end
94
+
95
+ # Show invalid properties with the reasons. Usually used together with valid?
96
+ # @return Array for valid properties with the reasons
97
+ def list_invalid_properties
98
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
99
+ invalid_properties = Array.new
100
+ invalid_properties
101
+ end
102
+
103
+ # Check to see if the all the properties in the model are valid
104
+ # @return true if the model is valid
105
+ def valid?
106
+ warn '[DEPRECATED] the `valid?` method is obsolete'
107
+ true
108
+ end
109
+
110
+ # Checks equality by comparing each attribute.
111
+ # @param [Object] Object to be compared
112
+ def ==(o)
113
+ return true if self.equal?(o)
114
+ self.class == o.class &&
115
+ role == o.role &&
116
+ app == o.app &&
117
+ related_user == o.related_user &&
118
+ related_role == o.related_role
119
+ end
120
+
121
+ # @see the `==` method
122
+ # @param [Object] Object to be compared
123
+ def eql?(o)
124
+ self == o
125
+ end
126
+
127
+ # Calculates hash code according to all attributes.
128
+ # @return [Integer] Hash code
129
+ def hash
130
+ [role, app, related_user, related_role].hash
131
+ end
132
+
133
+ # Builds the object from hash
134
+ # @param [Hash] attributes Model attributes in the form of hash
135
+ # @return [Object] Returns the model itself
136
+ def self.build_from_hash(attributes)
137
+ return nil unless attributes.is_a?(Hash)
138
+ attributes = attributes.transform_keys(&:to_sym)
139
+ transformed_hash = {}
140
+ openapi_types.each_pair do |key, type|
141
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
142
+ transformed_hash["#{key}"] = nil
143
+ elsif type =~ /\AArray<(.*)>/i
144
+ # check to ensure the input is an array given that the attribute
145
+ # is documented as an array but the input is not
146
+ if attributes[attribute_map[key]].is_a?(Array)
147
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
148
+ end
149
+ elsif !attributes[attribute_map[key]].nil?
150
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
151
+ end
152
+ end
153
+ new(transformed_hash)
154
+ end
155
+
156
+ # Deserializes the data based on type
157
+ # @param string type Data type
158
+ # @param string value Value to be deserialized
159
+ # @return [Object] Deserialized data
160
+ def self._deserialize(type, value)
161
+ case type.to_sym
162
+ when :Time
163
+ Time.parse(value)
164
+ when :Date
165
+ Date.parse(value)
166
+ when :String
167
+ value.to_s
168
+ when :Integer
169
+ value.to_i
170
+ when :Float
171
+ value.to_f
172
+ when :Boolean
173
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
174
+ true
175
+ else
176
+ false
177
+ end
178
+ when :Object
179
+ # generic object (usually a Hash), return directly
180
+ value
181
+ when /\AArray<(?<inner_type>.+)>\z/
182
+ inner_type = Regexp.last_match[:inner_type]
183
+ value.map { |v| _deserialize(inner_type, v) }
184
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
185
+ k_type = Regexp.last_match[:k_type]
186
+ v_type = Regexp.last_match[:v_type]
187
+ {}.tap do |hash|
188
+ value.each do |k, v|
189
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
190
+ end
191
+ end
192
+ else # model
193
+ # models (e.g. Pet) or oneOf
194
+ klass = OpenapiClient.const_get(type)
195
+ klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
196
+ end
197
+ end
198
+
199
+ # Returns the string representation of the object
200
+ # @return [String] String presentation of the object
201
+ def to_s
202
+ to_hash.to_s
203
+ end
204
+
205
+ # to_body is an alias to to_hash (backward compatibility)
206
+ # @return [Hash] Returns the object in the form of hash
207
+ def to_body
208
+ to_hash
209
+ end
210
+
211
+ # Returns the object in the form of hash
212
+ # @return [Hash] Returns the object in the form of hash
213
+ def to_hash
214
+ hash = {}
215
+ self.class.attribute_map.each_pair do |attr, param|
216
+ value = self.send(attr)
217
+ if value.nil?
218
+ is_nullable = self.class.openapi_nullable.include?(attr)
219
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
220
+ end
221
+
222
+ hash[param] = _to_hash(value)
223
+ end
224
+ hash
225
+ end
226
+
227
+ # Outputs non-array value in the form of hash
228
+ # For object, use to_hash. Otherwise, just return the value
229
+ # @param [Object] value Any valid value
230
+ # @return [Hash] Returns the value in the form of hash
231
+ def _to_hash(value)
232
+ if value.is_a?(Array)
233
+ value.compact.map { |v| _to_hash(v) }
234
+ elsif value.is_a?(Hash)
235
+ {}.tap do |hash|
236
+ value.each { |k, v| hash[k] = _to_hash(v) }
237
+ end
238
+ elsif value.respond_to? :to_hash
239
+ value.to_hash
240
+ else
241
+ value
242
+ end
243
+ end
244
+
245
+ end
246
+
247
+ end
@@ -0,0 +1,15 @@
1
+ =begin
2
+ #API V1
3
+
4
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+
6
+ The version of the OpenAPI document: v1
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.12.0
10
+
11
+ =end
12
+
13
+ module OpenapiClient
14
+ VERSION = '1.0.0'
15
+ end
@@ -0,0 +1,48 @@
1
+ =begin
2
+ #API V1
3
+
4
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+
6
+ The version of the OpenAPI document: v1
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.12.0
10
+
11
+ =end
12
+
13
+ # Common files
14
+ require 'openapi_client/api_client'
15
+ require 'openapi_client/api_error'
16
+ require 'openapi_client/version'
17
+ require 'openapi_client/configuration'
18
+
19
+ # Models
20
+ require 'openapi_client/models/app'
21
+ require 'openapi_client/models/auth_validate_token_get200_response'
22
+ require 'openapi_client/models/role'
23
+ require 'openapi_client/models/user'
24
+ require 'openapi_client/models/user_app_add'
25
+ require 'openapi_client/models/user_role_add'
26
+
27
+ # APIs
28
+ require 'openapi_client/api/apps_api'
29
+ require 'openapi_client/api/auth_api'
30
+ require 'openapi_client/api/users_api'
31
+
32
+ module OpenapiClient
33
+ class << self
34
+ # Customize default settings for the SDK using block.
35
+ # OpenapiClient.configure do |config|
36
+ # config.username = "xxx"
37
+ # config.password = "xxx"
38
+ # end
39
+ # If no block given, return the default Configuration object.
40
+ def configure
41
+ if block_given?
42
+ yield(Configuration.default)
43
+ else
44
+ Configuration.default
45
+ end
46
+ end
47
+ end
48
+ end
@@ -0,0 +1,108 @@
1
+ =begin
2
+ #API V1
3
+
4
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+
6
+ The version of the OpenAPI document: v1
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.12.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for OpenapiClient::AppsApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'AppsApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = OpenapiClient::AppsApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of AppsApi' do
30
+ it 'should create an instance of AppsApi' do
31
+ expect(@api_instance).to be_instance_of(OpenapiClient::AppsApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for create_app
36
+ # create app
37
+ # @param access_token
38
+ # @param [Hash] opts the optional parameters
39
+ # @option opts [App] :app
40
+ # @return [nil]
41
+ describe 'create_app test' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
44
+ end
45
+ end
46
+
47
+ # unit tests for delete_app
48
+ # delete app
49
+ # @param access_token
50
+ # @param id id
51
+ # @param [Hash] opts the optional parameters
52
+ # @return [nil]
53
+ describe 'delete_app test' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
56
+ end
57
+ end
58
+
59
+ # unit tests for get_app
60
+ # show app
61
+ # @param access_token
62
+ # @param id id
63
+ # @param [Hash] opts the optional parameters
64
+ # @return [nil]
65
+ describe 'get_app test' do
66
+ it 'should work' do
67
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
68
+ end
69
+ end
70
+
71
+ # unit tests for get_apps
72
+ # list apps
73
+ # @param access_token
74
+ # @param [Hash] opts the optional parameters
75
+ # @return [nil]
76
+ describe 'get_apps test' do
77
+ it 'should work' do
78
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
79
+ end
80
+ end
81
+
82
+ # unit tests for patch_app
83
+ # update app
84
+ # @param access_token
85
+ # @param id id
86
+ # @param [Hash] opts the optional parameters
87
+ # @option opts [App] :app
88
+ # @return [nil]
89
+ describe 'patch_app test' do
90
+ it 'should work' do
91
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
92
+ end
93
+ end
94
+
95
+ # unit tests for update_app
96
+ # update app
97
+ # @param access_token
98
+ # @param id id
99
+ # @param [Hash] opts the optional parameters
100
+ # @option opts [App] :app
101
+ # @return [nil]
102
+ describe 'update_app test' do
103
+ it 'should work' do
104
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
105
+ end
106
+ end
107
+
108
+ end
@@ -0,0 +1,46 @@
1
+ =begin
2
+ #API V1
3
+
4
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+
6
+ The version of the OpenAPI document: v1
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.12.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for OpenapiClient::AuthApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'AuthApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = OpenapiClient::AuthApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of AuthApi' do
30
+ it 'should create an instance of AuthApi' do
31
+ expect(@api_instance).to be_instance_of(OpenapiClient::AuthApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for auth_validate_token_get
36
+ # validates a token
37
+ # @param access_token
38
+ # @param [Hash] opts the optional parameters
39
+ # @return [AuthValidateTokenGet200Response]
40
+ describe 'auth_validate_token_get test' do
41
+ it 'should work' do
42
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
43
+ end
44
+ end
45
+
46
+ end
@@ -0,0 +1,134 @@
1
+ =begin
2
+ #API V1
3
+
4
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+
6
+ The version of the OpenAPI document: v1
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.12.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for OpenapiClient::UsersApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'UsersApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = OpenapiClient::UsersApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of UsersApi' do
30
+ it 'should create an instance of UsersApi' do
31
+ expect(@api_instance).to be_instance_of(OpenapiClient::UsersApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for add_role_to_user
36
+ # add role to user
37
+ # @param user_id id
38
+ # @param access_token
39
+ # @param [Hash] opts the optional parameters
40
+ # @option opts [UserRoleAdd] :user_role_add
41
+ # @return [nil]
42
+ describe 'add_role_to_user test' 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
+ # unit tests for delete_role_from_user
49
+ # delete role
50
+ # @param access_token
51
+ # @param user_id id
52
+ # @param role_id id
53
+ # @param [Hash] opts the optional parameters
54
+ # @return [nil]
55
+ describe 'delete_role_from_user test' do
56
+ it 'should work' do
57
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
58
+ end
59
+ end
60
+
61
+ # unit tests for delete_user
62
+ # delete user
63
+ # @param id id
64
+ # @param access_token
65
+ # @param [Hash] opts the optional parameters
66
+ # @return [nil]
67
+ describe 'delete_user test' do
68
+ it 'should work' do
69
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
70
+ end
71
+ end
72
+
73
+ # unit tests for get_user
74
+ # show user
75
+ # @param access_token
76
+ # @param id id
77
+ # @param [Hash] opts the optional parameters
78
+ # @return [nil]
79
+ describe 'get_user test' do
80
+ it 'should work' do
81
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
82
+ end
83
+ end
84
+
85
+ # unit tests for get_user_roles
86
+ # list roles of a user
87
+ # @param access_token
88
+ # @param user_id id
89
+ # @param [Hash] opts the optional parameters
90
+ # @return [nil]
91
+ describe 'get_user_roles test' do
92
+ it 'should work' do
93
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
94
+ end
95
+ end
96
+
97
+ # unit tests for get_users
98
+ # list users
99
+ # @param access_token
100
+ # @param [Hash] opts the optional parameters
101
+ # @return [nil]
102
+ describe 'get_users test' do
103
+ it 'should work' do
104
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
105
+ end
106
+ end
107
+
108
+ # unit tests for patch_user
109
+ # update user
110
+ # @param id id
111
+ # @param access_token
112
+ # @param [Hash] opts the optional parameters
113
+ # @option opts [User] :user
114
+ # @return [nil]
115
+ describe 'patch_user test' do
116
+ it 'should work' do
117
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
118
+ end
119
+ end
120
+
121
+ # unit tests for update_user
122
+ # update user
123
+ # @param id id
124
+ # @param access_token
125
+ # @param [Hash] opts the optional parameters
126
+ # @option opts [User] :user
127
+ # @return [nil]
128
+ describe 'update_user test' do
129
+ it 'should work' do
130
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
131
+ end
132
+ end
133
+
134
+ end
@@ -0,0 +1,78 @@
1
+ =begin
2
+ #API V1
3
+
4
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+
6
+ The version of the OpenAPI document: v1
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.12.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for OpenapiClient::App
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe OpenapiClient::App do
21
+ let(:instance) { OpenapiClient::App.new }
22
+
23
+ describe 'test an instance of App' do
24
+ it 'should create an instance of App' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(OpenapiClient::App)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "name"' 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
+ describe 'test attribute "url"' do
37
+ it 'should work' do
38
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
39
+ end
40
+ end
41
+
42
+ describe 'test attribute "label"' 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 "description"' 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
+
54
+ describe 'test attribute "status"' do
55
+ it 'should work' do
56
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
57
+ end
58
+ end
59
+
60
+ describe 'test attribute "category"' do
61
+ it 'should work' do
62
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
63
+ end
64
+ end
65
+
66
+ describe 'test attribute "logo"' do
67
+ it 'should work' do
68
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
69
+ end
70
+ end
71
+
72
+ describe 'test attribute "catalog"' do
73
+ it 'should work' do
74
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
75
+ end
76
+ end
77
+
78
+ end