pnap_tag_api 1.0.6 → 2.0.1

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.
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0
7
7
  Contact: support@phoenixnap.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 6.1.0
9
+ OpenAPI Generator version: 7.2.0
10
10
 
11
11
  =end
12
12
 
@@ -71,6 +71,8 @@ module TagApi
71
71
 
72
72
  if attributes.key?(:'name')
73
73
  self.name = attributes[:'name']
74
+ else
75
+ self.name = nil
74
76
  end
75
77
 
76
78
  if attributes.key?(:'description')
@@ -79,12 +81,15 @@ module TagApi
79
81
 
80
82
  if attributes.key?(:'is_billing_tag')
81
83
  self.is_billing_tag = attributes[:'is_billing_tag']
84
+ else
85
+ self.is_billing_tag = nil
82
86
  end
83
87
  end
84
88
 
85
89
  # Show invalid properties with the reasons. Usually used together with valid?
86
90
  # @return Array for valid properties with the reasons
87
91
  def list_invalid_properties
92
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
88
93
  invalid_properties = Array.new
89
94
  if @name.nil?
90
95
  invalid_properties.push('invalid value for "name", name cannot be nil.')
@@ -100,6 +105,7 @@ module TagApi
100
105
  # Check to see if the all the properties in the model are valid
101
106
  # @return true if the model is valid
102
107
  def valid?
108
+ warn '[DEPRECATED] the `valid?` method is obsolete'
103
109
  return false if @name.nil?
104
110
  return false if @is_billing_tag.nil?
105
111
  true
@@ -131,37 +137,30 @@ module TagApi
131
137
  # @param [Hash] attributes Model attributes in the form of hash
132
138
  # @return [Object] Returns the model itself
133
139
  def self.build_from_hash(attributes)
134
- new.build_from_hash(attributes)
135
- end
136
-
137
- # Builds the object from hash
138
- # @param [Hash] attributes Model attributes in the form of hash
139
- # @return [Object] Returns the model itself
140
- def build_from_hash(attributes)
141
140
  return nil unless attributes.is_a?(Hash)
142
141
  attributes = attributes.transform_keys(&:to_sym)
143
- self.class.openapi_types.each_pair do |key, type|
144
- if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
145
- self.send("#{key}=", nil)
142
+ transformed_hash = {}
143
+ openapi_types.each_pair do |key, type|
144
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
145
+ transformed_hash["#{key}"] = nil
146
146
  elsif type =~ /\AArray<(.*)>/i
147
147
  # check to ensure the input is an array given that the attribute
148
148
  # is documented as an array but the input is not
149
- if attributes[self.class.attribute_map[key]].is_a?(Array)
150
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
149
+ if attributes[attribute_map[key]].is_a?(Array)
150
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
151
151
  end
152
- elsif !attributes[self.class.attribute_map[key]].nil?
153
- self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
152
+ elsif !attributes[attribute_map[key]].nil?
153
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
154
154
  end
155
155
  end
156
-
157
- self
156
+ new(transformed_hash)
158
157
  end
159
158
 
160
159
  # Deserializes the data based on type
161
160
  # @param string type Data type
162
161
  # @param string value Value to be deserialized
163
162
  # @return [Object] Deserialized data
164
- def _deserialize(type, value)
163
+ def self._deserialize(type, value)
165
164
  case type.to_sym
166
165
  when :Time
167
166
  Time.parse(value)
@@ -196,7 +195,7 @@ module TagApi
196
195
  else # model
197
196
  # models (e.g. Pet) or oneOf
198
197
  klass = TagApi.const_get(type)
199
- klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
198
+ klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
200
199
  end
201
200
  end
202
201
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0
7
7
  Contact: support@phoenixnap.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 6.1.0
9
+ OpenAPI Generator version: 7.2.0
10
10
 
11
11
  =end
12
12
 
@@ -71,6 +71,8 @@ module TagApi
71
71
 
72
72
  if attributes.key?(:'name')
73
73
  self.name = attributes[:'name']
74
+ else
75
+ self.name = nil
74
76
  end
75
77
 
76
78
  if attributes.key?(:'description')
@@ -79,12 +81,15 @@ module TagApi
79
81
 
80
82
  if attributes.key?(:'is_billing_tag')
81
83
  self.is_billing_tag = attributes[:'is_billing_tag']
84
+ else
85
+ self.is_billing_tag = nil
82
86
  end
83
87
  end
84
88
 
85
89
  # Show invalid properties with the reasons. Usually used together with valid?
86
90
  # @return Array for valid properties with the reasons
87
91
  def list_invalid_properties
92
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
88
93
  invalid_properties = Array.new
89
94
  if @name.nil?
90
95
  invalid_properties.push('invalid value for "name", name cannot be nil.')
@@ -100,6 +105,7 @@ module TagApi
100
105
  # Check to see if the all the properties in the model are valid
101
106
  # @return true if the model is valid
102
107
  def valid?
108
+ warn '[DEPRECATED] the `valid?` method is obsolete'
103
109
  return false if @name.nil?
104
110
  return false if @is_billing_tag.nil?
105
111
  true
@@ -131,37 +137,30 @@ module TagApi
131
137
  # @param [Hash] attributes Model attributes in the form of hash
132
138
  # @return [Object] Returns the model itself
133
139
  def self.build_from_hash(attributes)
134
- new.build_from_hash(attributes)
135
- end
136
-
137
- # Builds the object from hash
138
- # @param [Hash] attributes Model attributes in the form of hash
139
- # @return [Object] Returns the model itself
140
- def build_from_hash(attributes)
141
140
  return nil unless attributes.is_a?(Hash)
142
141
  attributes = attributes.transform_keys(&:to_sym)
143
- self.class.openapi_types.each_pair do |key, type|
144
- if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
145
- self.send("#{key}=", nil)
142
+ transformed_hash = {}
143
+ openapi_types.each_pair do |key, type|
144
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
145
+ transformed_hash["#{key}"] = nil
146
146
  elsif type =~ /\AArray<(.*)>/i
147
147
  # check to ensure the input is an array given that the attribute
148
148
  # is documented as an array but the input is not
149
- if attributes[self.class.attribute_map[key]].is_a?(Array)
150
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
149
+ if attributes[attribute_map[key]].is_a?(Array)
150
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
151
151
  end
152
- elsif !attributes[self.class.attribute_map[key]].nil?
153
- self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
152
+ elsif !attributes[attribute_map[key]].nil?
153
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
154
154
  end
155
155
  end
156
-
157
- self
156
+ new(transformed_hash)
158
157
  end
159
158
 
160
159
  # Deserializes the data based on type
161
160
  # @param string type Data type
162
161
  # @param string value Value to be deserialized
163
162
  # @return [Object] Deserialized data
164
- def _deserialize(type, value)
163
+ def self._deserialize(type, value)
165
164
  case type.to_sym
166
165
  when :Time
167
166
  Time.parse(value)
@@ -196,7 +195,7 @@ module TagApi
196
195
  else # model
197
196
  # models (e.g. Pet) or oneOf
198
197
  klass = TagApi.const_get(type)
199
- klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
198
+ klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
200
199
  end
201
200
  end
202
201
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0
7
7
  Contact: support@phoenixnap.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 6.1.0
9
+ OpenAPI Generator version: 7.2.0
10
10
 
11
11
  =end
12
12
 
data/lib/pnap_tag_api.rb CHANGED
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0
7
7
  Contact: support@phoenixnap.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 6.1.0
9
+ OpenAPI Generator version: 7.2.0
10
10
 
11
11
  =end
12
12
 
data/pnap_tag_api.gemspec CHANGED
@@ -8,7 +8,7 @@
8
8
  The version of the OpenAPI document: 1.0
9
9
  Contact: support@phoenixnap.com
10
10
  Generated by: https://openapi-generator.tech
11
- OpenAPI Generator version: 6.1.0
11
+ OpenAPI Generator version: 7.2.0
12
12
 
13
13
  =end
14
14
 
@@ -25,7 +25,7 @@ Gem::Specification.new do |s|
25
25
  s.summary = "Tags API Ruby Gem"
26
26
  s.description = "Tags API Ruby Gem"
27
27
  s.license = "MPL-2.0"
28
- s.required_ruby_version = ">= 2.4"
28
+ s.required_ruby_version = ">= 2.7"
29
29
  s.metadata = { "source_code_uri" => "https://github.com/phoenixnap/ruby-sdk-bmc" }
30
30
 
31
31
  s.add_runtime_dependency 'typhoeus', '~> 1.0', '>= 1.0.1'
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0
7
7
  Contact: support@phoenixnap.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.4.0
9
+ OpenAPI Generator version: 7.2.0
10
10
 
11
11
  =end
12
12
 
@@ -40,7 +40,7 @@ describe 'TagsApi' do
40
40
  # @return [Array<Tag>]
41
41
  describe 'tags_get test' do
42
42
  it 'should work' do
43
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
44
44
  end
45
45
  end
46
46
 
@@ -52,7 +52,7 @@ describe 'TagsApi' do
52
52
  # @return [Tag]
53
53
  describe 'tags_post test' do
54
54
  it 'should work' do
55
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
55
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
56
56
  end
57
57
  end
58
58
 
@@ -64,7 +64,7 @@ describe 'TagsApi' do
64
64
  # @return [DeleteResult]
65
65
  describe 'tags_tag_id_delete test' do
66
66
  it 'should work' do
67
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
67
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
68
68
  end
69
69
  end
70
70
 
@@ -76,7 +76,7 @@ describe 'TagsApi' do
76
76
  # @return [Tag]
77
77
  describe 'tags_tag_id_get test' do
78
78
  it 'should work' do
79
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
79
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
80
80
  end
81
81
  end
82
82
 
@@ -89,7 +89,7 @@ describe 'TagsApi' do
89
89
  # @return [Tag]
90
90
  describe 'tags_tag_id_patch test' do
91
91
  it 'should work' do
92
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
92
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
93
93
  end
94
94
  end
95
95
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0
7
7
  Contact: support@phoenixnap.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.4.0
9
+ OpenAPI Generator version: 7.2.0
10
10
 
11
11
  =end
12
12
 
@@ -22,18 +22,20 @@ describe TagApi::DeleteResult do
22
22
 
23
23
  describe 'test an instance of DeleteResult' do
24
24
  it 'should create an instance of DeleteResult' do
25
- expect(instance).to be_instance_of(TagApi::DeleteResult)
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(TagApi::DeleteResult)
26
27
  end
27
28
  end
29
+
28
30
  describe 'test attribute "result"' do
29
31
  it 'should work' do
30
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
31
33
  end
32
34
  end
33
35
 
34
36
  describe 'test attribute "tag_id"' do
35
37
  it 'should work' do
36
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
37
39
  end
38
40
  end
39
41
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0
7
7
  Contact: support@phoenixnap.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.4.0
9
+ OpenAPI Generator version: 7.2.0
10
10
 
11
11
  =end
12
12
 
@@ -22,18 +22,20 @@ describe TagApi::Error do
22
22
 
23
23
  describe 'test an instance of Error' do
24
24
  it 'should create an instance of Error' do
25
- expect(instance).to be_instance_of(TagApi::Error)
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(TagApi::Error)
26
27
  end
27
28
  end
29
+
28
30
  describe 'test attribute "message"' do
29
31
  it 'should work' do
30
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
31
33
  end
32
34
  end
33
35
 
34
36
  describe 'test attribute "validation_errors"' do
35
37
  it 'should work' do
36
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
37
39
  end
38
40
  end
39
41
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0
7
7
  Contact: support@phoenixnap.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.4.0
9
+ OpenAPI Generator version: 7.2.0
10
10
 
11
11
  =end
12
12
 
@@ -22,18 +22,20 @@ describe TagApi::ResourceAssignment do
22
22
 
23
23
  describe 'test an instance of ResourceAssignment' do
24
24
  it 'should create an instance of ResourceAssignment' do
25
- expect(instance).to be_instance_of(TagApi::ResourceAssignment)
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(TagApi::ResourceAssignment)
26
27
  end
27
28
  end
29
+
28
30
  describe 'test attribute "resource_name"' do
29
31
  it 'should work' do
30
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
31
33
  end
32
34
  end
33
35
 
34
36
  describe 'test attribute "value"' do
35
37
  it 'should work' do
36
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
37
39
  end
38
40
  end
39
41
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0
7
7
  Contact: support@phoenixnap.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.4.0
9
+ OpenAPI Generator version: 7.2.0
10
10
 
11
11
  =end
12
12
 
@@ -22,24 +22,26 @@ describe TagApi::TagCreate do
22
22
 
23
23
  describe 'test an instance of TagCreate' do
24
24
  it 'should create an instance of TagCreate' do
25
- expect(instance).to be_instance_of(TagApi::TagCreate)
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(TagApi::TagCreate)
26
27
  end
27
28
  end
29
+
28
30
  describe 'test attribute "name"' do
29
31
  it 'should work' do
30
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
31
33
  end
32
34
  end
33
35
 
34
36
  describe 'test attribute "description"' do
35
37
  it 'should work' do
36
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
37
39
  end
38
40
  end
39
41
 
40
42
  describe 'test attribute "is_billing_tag"' do
41
43
  it 'should work' do
42
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
43
45
  end
44
46
  end
45
47
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0
7
7
  Contact: support@phoenixnap.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.4.0
9
+ OpenAPI Generator version: 7.2.0
10
10
 
11
11
  =end
12
12
 
@@ -22,48 +22,50 @@ describe TagApi::Tag do
22
22
 
23
23
  describe 'test an instance of Tag' do
24
24
  it 'should create an instance of Tag' do
25
- expect(instance).to be_instance_of(TagApi::Tag)
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(TagApi::Tag)
26
27
  end
27
28
  end
29
+
28
30
  describe 'test attribute "id"' do
29
31
  it 'should work' do
30
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
31
33
  end
32
34
  end
33
35
 
34
36
  describe 'test attribute "name"' do
35
37
  it 'should work' do
36
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
37
39
  end
38
40
  end
39
41
 
40
42
  describe 'test attribute "values"' do
41
43
  it 'should work' do
42
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
43
45
  end
44
46
  end
45
47
 
46
48
  describe 'test attribute "description"' do
47
49
  it 'should work' do
48
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
49
51
  end
50
52
  end
51
53
 
52
54
  describe 'test attribute "is_billing_tag"' do
53
55
  it 'should work' do
54
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
55
57
  end
56
58
  end
57
59
 
58
60
  describe 'test attribute "resource_assignments"' do
59
61
  it 'should work' do
60
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
62
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
61
63
  end
62
64
  end
63
65
 
64
66
  describe 'test attribute "created_by"' do
65
67
  it 'should work' do
66
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
67
69
  # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["USER", "SYSTEM"])
68
70
  # validator.allowable_values.each do |value|
69
71
  # expect { instance.created_by = value }.not_to raise_error
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0
7
7
  Contact: support@phoenixnap.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.4.0
9
+ OpenAPI Generator version: 7.2.0
10
10
 
11
11
  =end
12
12
 
@@ -22,24 +22,26 @@ describe TagApi::TagUpdate do
22
22
 
23
23
  describe 'test an instance of TagUpdate' do
24
24
  it 'should create an instance of TagUpdate' do
25
- expect(instance).to be_instance_of(TagApi::TagUpdate)
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(TagApi::TagUpdate)
26
27
  end
27
28
  end
29
+
28
30
  describe 'test attribute "name"' do
29
31
  it 'should work' do
30
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
31
33
  end
32
34
  end
33
35
 
34
36
  describe 'test attribute "description"' do
35
37
  it 'should work' do
36
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
37
39
  end
38
40
  end
39
41
 
40
42
  describe 'test attribute "is_billing_tag"' do
41
43
  it 'should work' do
42
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
43
45
  end
44
46
  end
45
47
 
data/spec/spec_helper.rb CHANGED
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0
7
7
  Contact: support@phoenixnap.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 6.1.0
9
+ OpenAPI Generator version: 7.2.0
10
10
 
11
11
  =end
12
12
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pnap_tag_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.6
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - PhoenixNAP
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-07-20 00:00:00.000000000 Z
11
+ date: 2024-03-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -82,8 +82,6 @@ files:
82
82
  - lib/pnap_tag_api/version.rb
83
83
  - pnap_tag_api.gemspec
84
84
  - spec/api/tags_api_spec.rb
85
- - spec/api_client_spec.rb
86
- - spec/configuration_spec.rb
87
85
  - spec/models/delete_result_spec.rb
88
86
  - spec/models/error_spec.rb
89
87
  - spec/models/resource_assignment_spec.rb
@@ -104,7 +102,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
104
102
  requirements:
105
103
  - - ">="
106
104
  - !ruby/object:Gem::Version
107
- version: '2.4'
105
+ version: '2.7'
108
106
  required_rubygems_version: !ruby/object:Gem::Requirement
109
107
  requirements:
110
108
  - - ">="
@@ -117,12 +115,10 @@ specification_version: 4
117
115
  summary: Tags API Ruby Gem
118
116
  test_files:
119
117
  - spec/api/tags_api_spec.rb
120
- - spec/api_client_spec.rb
121
- - spec/configuration_spec.rb
118
+ - spec/models/tag_update_spec.rb
122
119
  - spec/models/error_spec.rb
123
- - spec/models/tag_spec.rb
124
- - spec/models/delete_result_spec.rb
125
- - spec/models/tag_create_spec.rb
126
120
  - spec/models/resource_assignment_spec.rb
127
- - spec/models/tag_update_spec.rb
121
+ - spec/models/tag_create_spec.rb
122
+ - spec/models/delete_result_spec.rb
123
+ - spec/models/tag_spec.rb
128
124
  - spec/spec_helper.rb