patch_ruby 1.20.0 → 1.23.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.
@@ -0,0 +1,239 @@
1
+ =begin
2
+ #Patch API V1
3
+
4
+ #The core API used to integrate with Patch's service
5
+
6
+ The version of the OpenAPI document: v1
7
+ Contact: engineering@usepatch.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.3.1
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module Patch
17
+ class V1OrdersIssuedTo
18
+ attr_accessor :email
19
+
20
+ attr_accessor :name
21
+
22
+ # Attribute mapping from ruby-style variable name to JSON key.
23
+ def self.attribute_map
24
+ {
25
+ :'email' => :'email',
26
+ :'name' => :'name'
27
+ }
28
+ end
29
+
30
+ # Returns all the JSON keys this model knows about
31
+ def self.acceptable_attributes
32
+ attribute_map.values
33
+ end
34
+
35
+ # Attribute type mapping.
36
+ def self.openapi_types
37
+ {
38
+ :'email' => :'String',
39
+ :'name' => :'String'
40
+ }
41
+ end
42
+
43
+ # List of attributes with nullable: true
44
+ def self.openapi_nullable
45
+ Set.new([
46
+ :'email',
47
+ :'name'
48
+ ])
49
+ end
50
+
51
+
52
+ # Allows models with corresponding API classes to delegate API operations to those API classes
53
+ # Exposes Model.operation_id which delegates to ModelsApi.new.operation_id
54
+ # Eg. Order.create_order delegates to OrdersApi.new.create_order
55
+ def self.method_missing(message, *args, &block)
56
+ if Object.const_defined?('Patch::V1OrdersIssuedTosApi::OPERATIONS') && Patch::V1OrdersIssuedTosApi::OPERATIONS.include?(message)
57
+ Patch::V1OrdersIssuedTosApi.new.send(message, *args)
58
+ else
59
+ super
60
+ end
61
+ end
62
+
63
+ # Initializes the object
64
+ # @param [Hash] attributes Model attributes in the form of hash
65
+ def initialize(attributes = {})
66
+ if (!attributes.is_a?(Hash))
67
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Patch::V1OrdersIssuedTo` initialize method"
68
+ end
69
+
70
+ # check to see if the attribute exists and convert string to symbol for hash key
71
+ attributes = attributes.each_with_object({}) { |(k, v), h|
72
+ if (!self.class.attribute_map.key?(k.to_sym))
73
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Patch::V1OrdersIssuedTo`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
74
+ end
75
+ h[k.to_sym] = v
76
+ }
77
+
78
+ if attributes.key?(:'email')
79
+ self.email = attributes[:'email']
80
+ end
81
+
82
+ if attributes.key?(:'name')
83
+ self.name = attributes[:'name']
84
+ end
85
+ end
86
+
87
+ # Show invalid properties with the reasons. Usually used together with valid?
88
+ # @return Array for valid properties with the reasons
89
+ def list_invalid_properties
90
+ invalid_properties = Array.new
91
+ invalid_properties
92
+ end
93
+
94
+ # Check to see if the all the properties in the model are valid
95
+ # @return true if the model is valid
96
+ def valid?
97
+ true
98
+ end
99
+
100
+ # Checks equality by comparing each attribute.
101
+ # @param [Object] Object to be compared
102
+ def ==(o)
103
+ return true if self.equal?(o)
104
+ self.class == o.class &&
105
+ email == o.email &&
106
+ name == o.name
107
+ end
108
+
109
+ # @see the `==` method
110
+ # @param [Object] Object to be compared
111
+ def eql?(o)
112
+ self == o
113
+ end
114
+
115
+ # Calculates hash code according to all attributes.
116
+ # @return [Integer] Hash code
117
+ def hash
118
+ [email, name].hash
119
+ end
120
+
121
+ # Builds the object from hash
122
+ # @param [Hash] attributes Model attributes in the form of hash
123
+ # @return [Object] Returns the model itself
124
+ def self.build_from_hash(attributes)
125
+ new.build_from_hash(attributes)
126
+ end
127
+
128
+ # Builds the object from hash
129
+ # @param [Hash] attributes Model attributes in the form of hash
130
+ # @return [Object] Returns the model itself
131
+ def build_from_hash(attributes)
132
+ return nil unless attributes.is_a?(Hash)
133
+ self.class.openapi_types.each_pair do |key, type|
134
+ if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
135
+ self.send("#{key}=", nil)
136
+ elsif type =~ /\AArray<(.*)>/i
137
+ # check to ensure the input is an array given that the attribute
138
+ # is documented as an array but the input is not
139
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
140
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
141
+ end
142
+ elsif !attributes[self.class.attribute_map[key]].nil?
143
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
144
+ end
145
+ end
146
+
147
+ self
148
+ end
149
+
150
+ # Deserializes the data based on type
151
+ # @param string type Data type
152
+ # @param string value Value to be deserialized
153
+ # @return [Object] Deserialized data
154
+ def _deserialize(type, value)
155
+ case type.to_sym
156
+ when :Time
157
+ Time.parse(value)
158
+ when :Date
159
+ Date.parse(value)
160
+ when :String
161
+ value.to_s
162
+ when :Integer
163
+ value.to_i
164
+ when :Float
165
+ value.to_f
166
+ when :Boolean
167
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
168
+ true
169
+ else
170
+ false
171
+ end
172
+ when :Object
173
+ # generic object (usually a Hash), return directly
174
+ value
175
+ when /\AArray<(?<inner_type>.+)>\z/
176
+ inner_type = Regexp.last_match[:inner_type]
177
+ value.map { |v| _deserialize(inner_type, v) }
178
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
179
+ k_type = Regexp.last_match[:k_type]
180
+ v_type = Regexp.last_match[:v_type]
181
+ {}.tap do |hash|
182
+ value.each do |k, v|
183
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
184
+ end
185
+ end
186
+ else # model
187
+ # models (e.g. Pet) or oneOf
188
+ klass = Patch.const_get(type)
189
+ klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
190
+ end
191
+ end
192
+
193
+ # Returns the string representation of the object
194
+ # @return [String] String presentation of the object
195
+ def to_s
196
+ to_hash.to_s
197
+ end
198
+
199
+ # to_body is an alias to to_hash (backward compatibility)
200
+ # @return [Hash] Returns the object in the form of hash
201
+ def to_body
202
+ to_hash
203
+ end
204
+
205
+ # Returns the object in the form of hash
206
+ # @return [Hash] Returns the object in the form of hash
207
+ def to_hash
208
+ hash = {}
209
+ self.class.attribute_map.each_pair do |attr, param|
210
+ value = self.send(attr)
211
+ if value.nil?
212
+ is_nullable = self.class.openapi_nullable.include?(attr)
213
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
214
+ end
215
+
216
+ hash[param] = _to_hash(value)
217
+ end
218
+ hash
219
+ end
220
+
221
+ # Outputs non-array value in the form of hash
222
+ # For object, use to_hash. Otherwise, just return the value
223
+ # @param [Object] value Any valid value
224
+ # @return [Hash] Returns the value in the form of hash
225
+ def _to_hash(value)
226
+ if value.is_a?(Array)
227
+ value.compact.map { |v| _to_hash(v) }
228
+ elsif value.is_a?(Hash)
229
+ {}.tap do |hash|
230
+ value.each { |k, v| hash[k] = _to_hash(v) }
231
+ end
232
+ elsif value.respond_to? :to_hash
233
+ value.to_hash
234
+ else
235
+ value
236
+ end
237
+ end
238
+ end
239
+ end
@@ -11,5 +11,5 @@ OpenAPI Generator version: 5.3.1
11
11
  =end
12
12
 
13
13
  module Patch
14
- VERSION = '1.20.0'
14
+ VERSION = '1.23.0'
15
15
  end
data/lib/patch_ruby.rb CHANGED
@@ -32,12 +32,17 @@ require 'patch_ruby/models/estimate'
32
32
  require 'patch_ruby/models/estimate_list_response'
33
33
  require 'patch_ruby/models/estimate_response'
34
34
  require 'patch_ruby/models/highlight'
35
+ require 'patch_ruby/models/inventory'
36
+ require 'patch_ruby/models/issued_to'
35
37
  require 'patch_ruby/models/meta_index_object'
36
38
  require 'patch_ruby/models/order'
39
+ require 'patch_ruby/models/order_inventory'
40
+ require 'patch_ruby/models/order_inventory_project'
37
41
  require 'patch_ruby/models/order_list_response'
38
42
  require 'patch_ruby/models/order_response'
39
43
  require 'patch_ruby/models/parent_technology_type'
40
44
  require 'patch_ruby/models/photo'
45
+ require 'patch_ruby/models/place_order_request'
41
46
  require 'patch_ruby/models/project'
42
47
  require 'patch_ruby/models/project_list_response'
43
48
  require 'patch_ruby/models/project_response'
@@ -45,6 +50,7 @@ require 'patch_ruby/models/sdg'
45
50
  require 'patch_ruby/models/standard'
46
51
  require 'patch_ruby/models/technology_type'
47
52
  require 'patch_ruby/models/technology_type_list_response'
53
+ require 'patch_ruby/models/v1_orders_issued_to'
48
54
 
49
55
  # APIs
50
56
  require 'patch_ruby/api/estimates_api'
@@ -27,7 +27,7 @@ RSpec.describe 'Estimates Integration' do
27
27
  )
28
28
 
29
29
  expect(flight_estimate.data.type).to eq 'flight'
30
- expect(flight_estimate.data.mass_g).to eq 1_000_622
30
+ expect(flight_estimate.data.mass_g).to be >= 1_000_000
31
31
  end
32
32
 
33
33
  it 'supports creating flight estimates with origin and destination' do
@@ -60,8 +60,8 @@ RSpec.describe 'Estimates Integration' do
60
60
  )
61
61
 
62
62
  expect(vehicle_estimate.data.type).to eq 'vehicle'
63
- expect(vehicle_estimate.data.mass_g).to eq 5_500
64
- expect(vehicle_estimate.data.order.mass_g).to eq 5_500
63
+ expect(vehicle_estimate.data.mass_g).to be >= 1_000
64
+ expect(vehicle_estimate.data.order.amount).to be >= 1_000
65
65
  end
66
66
 
67
67
  it 'supports creating vehicle estimates with partial information' do
@@ -42,6 +42,29 @@ RSpec.describe 'Orders Integration' do
42
42
  expect(order.registry_url).not_to be_empty
43
43
  end
44
44
 
45
+ it 'supports create with issued_to' do
46
+ retrieve_project_response = Patch::Project.retrieve_project(
47
+ Constants::BIOMASS_TEST_PROJECT_ID
48
+ )
49
+
50
+ issued_to = {email: 'envimpact@companyb.com', name: 'Company B'}
51
+ total_price_cents_usd = 50_00
52
+
53
+ create_order_response = Patch::Order.create_order(
54
+ total_price_cents_usd: total_price_cents_usd,
55
+ issued_to: issued_to
56
+ )
57
+
58
+ expect(create_order_response.success).to eq true
59
+
60
+ order = create_order_response.data
61
+
62
+ expect(order.id).not_to be_nil
63
+ expect(order.price_cents_usd + order.patch_fee_cents_usd).to eq total_price_cents_usd
64
+ expect(order.issued_to.email).to eq(issued_to[:email])
65
+ expect(order.issued_to.name).to eq(issued_to[:name])
66
+ end
67
+
45
68
  it 'supports create with a total price' do
46
69
  retrieve_project_response = Patch::Project.retrieve_project(
47
70
  Constants::BIOMASS_TEST_PROJECT_ID
@@ -108,6 +131,17 @@ RSpec.describe 'Orders Integration' do
108
131
  expect(cancel_order_response.data.state).to eq 'cancelled'
109
132
  end
110
133
 
134
+ it 'supports place order with issued_to' do
135
+ create_estimate_to_place_response = Patch::Estimate.create_mass_estimate(mass_g: 100, create_order: true)
136
+ order_to_place_id = create_estimate_to_place_response.data.order.id
137
+
138
+ issued_to = {email: 'envimpact@companya.com', name: 'Company A'}
139
+ place_order_response = Patch::Order.place_order(order_to_place_id, { issued_to: issued_to})
140
+ expect(place_order_response.data.state).to eq 'placed'
141
+ expect(place_order_response.data.issued_to.email).to eq(issued_to[:email])
142
+ expect(place_order_response.data.issued_to.name).to eq(issued_to[:name])
143
+ end
144
+
111
145
  it 'supports create with a vintage year' do
112
146
  create_order_response =
113
147
  Patch::Order.create_order(mass_g: 100, vintage_year: 2022)
@@ -116,4 +150,32 @@ RSpec.describe 'Orders Integration' do
116
150
  expect(create_order_response.data.id).not_to be_nil
117
151
  expect(create_order_response.data.mass_g).to eq(100)
118
152
  end
153
+
154
+ it 'supports create with an amount and unit' do
155
+ create_order_response =
156
+ Patch::Order.create_order(amount: 100, unit: "g")
157
+
158
+ expect(create_order_response.success).to eq true
159
+ expect(create_order_response.data.id).not_to be_nil
160
+ expect(create_order_response.data.amount).to eq(100)
161
+ expect(create_order_response.data.unit).to eq("g")
162
+ expect(create_order_response.data.inventory[0]).to be_an_instance_of(
163
+ Patch::OrderInventory
164
+ )
165
+ expect(create_order_response.data.inventory[0].project).to be_an_instance_of(
166
+ Patch::OrderInventoryProject
167
+ )
168
+ expect(create_order_response.data.inventory[0].unit).to eq("g")
169
+ end
170
+
171
+ it 'supports create with a total price and currency' do
172
+ create_order_response =
173
+ Patch::Order.create_order(total_price: 100, currency: "EUR")
174
+
175
+ expect(create_order_response.success).to eq true
176
+ expect(create_order_response.data.id).not_to be_nil
177
+ expect(create_order_response.data.price + create_order_response.data.patch_fee
178
+ ).to be_within(1).of(100)
179
+ expect(create_order_response.data.currency).to eq "EUR"
180
+ end
119
181
  end
@@ -38,31 +38,48 @@ RSpec.describe 'Projects Integration' do
38
38
  end
39
39
  end
40
40
 
41
- describe 'returned fields' do
42
- it 'returns the expected fields' do
43
- project = Patch::Project.retrieve_projects(page: 1).data.first
44
-
45
- keys = attributes_for(:project).keys
46
- expect(project.to_hash.keys).to include(*keys)
47
-
48
- expect(project.photos).to be_an_instance_of(Array)
49
- expect(project.average_price_per_tonne_cents_usd)
50
- .to be_an_instance_of(Integer)
51
- expect(project.remaining_mass_g).to be_an_instance_of(Integer)
52
- expect(project.longitude).to be_an_instance_of(Float)
53
- expect(project.latitude).to be_an_instance_of(Float)
54
-
55
- expect(project.technology_type)
56
- .to be_an_instance_of(Patch::TechnologyType)
57
- expect(project.technology_type.name).to be_an_instance_of(String)
58
- expect(project.technology_type.slug).to be_an_instance_of(String)
59
-
60
- parent_type = project.technology_type.parent_technology_type
61
- expect(parent_type).to be_an_instance_of(Patch::ParentTechnologyType)
62
- expect(parent_type.name).to be_an_instance_of(String)
63
- expect(parent_type.slug).to be_an_instance_of(String)
64
-
65
- expect(project.highlights).to be_an_instance_of(Array)
66
- end
41
+ it 'returns the expected fields' do
42
+ project = Patch::Project.retrieve_projects(page: 1).data.first
43
+
44
+ keys = attributes_for(:project).keys
45
+ expect(project.to_hash.keys).to include(*keys)
46
+
47
+ expect(project.photos).to be_an_instance_of(Array)
48
+ expect(project.average_price_per_tonne_cents_usd)
49
+ .to be_an_instance_of(Integer)
50
+ expect(project.remaining_mass_g).to be_an_instance_of(Integer)
51
+ expect(project.longitude).to be_an_instance_of(Float)
52
+ expect(project.latitude).to be_an_instance_of(Float)
53
+
54
+ expect(project.technology_type)
55
+ .to be_an_instance_of(Patch::TechnologyType)
56
+ expect(project.technology_type.name).to be_an_instance_of(String)
57
+ expect(project.technology_type.slug).to be_an_instance_of(String)
58
+
59
+ parent_type = project.technology_type.parent_technology_type
60
+ expect(parent_type).to be_an_instance_of(Patch::ParentTechnologyType)
61
+ expect(parent_type.name).to be_an_instance_of(String)
62
+ expect(parent_type.slug).to be_an_instance_of(String)
63
+
64
+ expect(project.highlights).to be_an_instance_of(Array)
65
+
66
+ inventory = project.inventory
67
+ expect(inventory).to be_an_instance_of(Array)
68
+ expect(inventory[0]).to be_an_instance_of(Patch::Inventory)
69
+ expect(inventory[0].vintage_year).to be_an_instance_of(Integer)
70
+ expect(inventory[0].amount_available).to be_an_instance_of(Integer)
71
+ expect(inventory[0].price).to be_an_instance_of(Integer)
72
+ expect(inventory[0].currency).to be_an_instance_of(String)
73
+ expect(inventory[0].unit).to be_an_instance_of(String)
74
+ end
75
+
76
+ it 'retrieves projects in the requested language' do
77
+ projects_response = Patch::Project.retrieve_projects(accept_language: 'fr')
78
+
79
+ expect(projects_response.data.first.name).to include 'Projet' # French
80
+
81
+ project_id = projects_response.data.first.id
82
+ project_response = Patch::Project.retrieve_project(project_id, accept_language: 'fr')
83
+ expect(project_response.data.name).to include 'Projet' # Frenc
67
84
  end
68
85
  end
@@ -31,7 +31,7 @@ describe 'CreateOrderRequest' do
31
31
  let(:instance) { @instance }
32
32
  let(:instance_hash) { { project_id: @instance.project_id, mass_g: @instance.mass_g, total_price_cents_usd: @instance.total_price_cents_usd, metadata: @instance.metadata } }
33
33
  let(:nullable_properties) do
34
- Set.new(%i[mass_g total_price_cents_usd project_id metadata state vintage_year])
34
+ Set.new(%i[mass_g total_price_cents_usd project_id metadata state vintage_year total_price currency amount unit issued_to])
35
35
  end
36
36
  end
37
37
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: patch_ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.20.0
4
+ version: 1.23.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Patch Technology
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-04-18 00:00:00.000000000 Z
11
+ date: 2022-06-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -115,12 +115,17 @@ files:
115
115
  - lib/patch_ruby/models/estimate_list_response.rb
116
116
  - lib/patch_ruby/models/estimate_response.rb
117
117
  - lib/patch_ruby/models/highlight.rb
118
+ - lib/patch_ruby/models/inventory.rb
119
+ - lib/patch_ruby/models/issued_to.rb
118
120
  - lib/patch_ruby/models/meta_index_object.rb
119
121
  - lib/patch_ruby/models/order.rb
122
+ - lib/patch_ruby/models/order_inventory.rb
123
+ - lib/patch_ruby/models/order_inventory_project.rb
120
124
  - lib/patch_ruby/models/order_list_response.rb
121
125
  - lib/patch_ruby/models/order_response.rb
122
126
  - lib/patch_ruby/models/parent_technology_type.rb
123
127
  - lib/patch_ruby/models/photo.rb
128
+ - lib/patch_ruby/models/place_order_request.rb
124
129
  - lib/patch_ruby/models/project.rb
125
130
  - lib/patch_ruby/models/project_list_response.rb
126
131
  - lib/patch_ruby/models/project_response.rb
@@ -128,6 +133,7 @@ files:
128
133
  - lib/patch_ruby/models/standard.rb
129
134
  - lib/patch_ruby/models/technology_type.rb
130
135
  - lib/patch_ruby/models/technology_type_list_response.rb
136
+ - lib/patch_ruby/models/v1_orders_issued_to.rb
131
137
  - lib/patch_ruby/version.rb
132
138
  - patch_ruby.gemspec
133
139
  - spec/api/estimates_api_spec.rb
@@ -200,47 +206,47 @@ specification_version: 4
200
206
  summary: Ruby wrapper for the Patch API
201
207
  test_files:
202
208
  - spec/api/technology_types_api_spec.rb
203
- - spec/api/orders_api_spec.rb
204
209
  - spec/api/estimates_api_spec.rb
205
210
  - spec/api/projects_api_spec.rb
211
+ - spec/api/orders_api_spec.rb
206
212
  - spec/api_client_spec.rb
207
213
  - spec/configuration_spec.rb
208
214
  - spec/constants.rb
209
- - spec/factories/allocations.rb
210
- - spec/factories/create_mass_estimate_requests.rb
211
- - spec/factories/meta_index_objects.rb
212
- - spec/factories/estimate_list_responses.rb
213
- - spec/factories/order_list_responses.rb
214
- - spec/factories/parent_technology_type.rb
215
- - spec/factories/create_order_requests.rb
216
- - spec/factories/sdgs.rb
217
- - spec/factories/order_responses.rb
218
- - spec/factories/orders.rb
219
- - spec/factories/technology_type.rb
215
+ - spec/factories/estimates.rb
220
216
  - spec/factories/project_responses.rb
221
217
  - spec/factories/estimate_responses.rb
218
+ - spec/factories/meta_index_objects.rb
219
+ - spec/factories/order_responses.rb
222
220
  - spec/factories/project_list_responses.rb
223
221
  - spec/factories/error_responses.rb
222
+ - spec/factories/create_mass_estimate_requests.rb
223
+ - spec/factories/parent_technology_type.rb
224
+ - spec/factories/orders.rb
225
+ - spec/factories/sdgs.rb
226
+ - spec/factories/create_order_requests.rb
227
+ - spec/factories/allocations.rb
228
+ - spec/factories/technology_type.rb
224
229
  - spec/factories/projects.rb
225
- - spec/factories/estimates.rb
226
- - spec/integration/estimates_spec.rb
227
- - spec/integration/projects/technology_types_spec.rb
230
+ - spec/factories/estimate_list_responses.rb
231
+ - spec/factories/order_list_responses.rb
228
232
  - spec/integration/projects_spec.rb
233
+ - spec/integration/projects/technology_types_spec.rb
229
234
  - spec/integration/orders_spec.rb
230
- - spec/models/project_response_spec.rb
235
+ - spec/integration/estimates_spec.rb
236
+ - spec/models/meta_index_object_spec.rb
237
+ - spec/models/estimate_spec.rb
238
+ - spec/models/estimate_list_response_spec.rb
239
+ - spec/models/estimate_response_spec.rb
231
240
  - spec/models/project_list_response_spec.rb
232
241
  - spec/models/create_order_request_spec.rb
233
- - spec/models/estimate_list_response_spec.rb
234
- - spec/models/estimate_spec.rb
235
242
  - spec/models/project_spec.rb
236
- - spec/models/order_response_spec.rb
237
243
  - spec/models/allocation_spec.rb
238
- - spec/models/meta_index_object_spec.rb
239
- - spec/models/error_response_spec.rb
240
- - spec/models/estimate_response_spec.rb
241
- - spec/models/create_mass_estimate_request_spec.rb
242
244
  - spec/models/order_list_response_spec.rb
245
+ - spec/models/error_response_spec.rb
246
+ - spec/models/project_response_spec.rb
243
247
  - spec/models/order_spec.rb
248
+ - spec/models/create_mass_estimate_request_spec.rb
249
+ - spec/models/order_response_spec.rb
244
250
  - spec/patch_ruby_spec.rb
245
251
  - spec/spec_helper.rb
246
252
  - spec/support/shared/generated_classes.rb