patch_ruby 1.7.0 → 1.10.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +19 -0
- data/Gemfile +1 -2
- data/Gemfile.lock +20 -25
- data/bin/rspec +29 -0
- data/lib/patch_ruby/api/estimates_api.rb +97 -24
- data/lib/patch_ruby/api/orders_api.rb +30 -16
- data/lib/patch_ruby/api/preferences_api.rb +17 -13
- data/lib/patch_ruby/api/projects_api.rb +9 -7
- data/lib/patch_ruby/api_client.rb +51 -49
- data/lib/patch_ruby/api_error.rb +1 -1
- data/lib/patch_ruby/configuration.rb +38 -9
- data/lib/patch_ruby/models/allocation.rb +21 -11
- data/lib/patch_ruby/models/create_bitcoin_estimate_request.rb +25 -19
- data/lib/patch_ruby/models/create_ethereum_estimate_request.rb +269 -0
- data/lib/patch_ruby/models/create_flight_estimate_request.rb +281 -0
- data/lib/patch_ruby/models/create_mass_estimate_request.rb +22 -13
- data/lib/patch_ruby/models/create_order_request.rb +21 -11
- data/lib/patch_ruby/models/create_preference_request.rb +21 -11
- data/lib/patch_ruby/models/create_shipping_estimate_request.rb +371 -0
- data/lib/patch_ruby/models/create_success_response.rb +247 -0
- data/lib/patch_ruby/models/create_vehicle_estimate_request.rb +326 -0
- data/lib/patch_ruby/models/error_response.rb +22 -13
- data/lib/patch_ruby/models/estimate.rb +23 -14
- data/lib/patch_ruby/models/estimate_list_response.rb +22 -13
- data/lib/patch_ruby/models/estimate_response.rb +22 -13
- data/lib/patch_ruby/models/meta_index_object.rb +23 -15
- data/lib/patch_ruby/models/order.rb +23 -15
- data/lib/patch_ruby/models/order_list_response.rb +22 -13
- data/lib/patch_ruby/models/order_response.rb +22 -13
- data/lib/patch_ruby/models/photo.rb +21 -11
- data/lib/patch_ruby/models/preference.rb +21 -11
- data/lib/patch_ruby/models/preference_list_response.rb +22 -13
- data/lib/patch_ruby/models/preference_response.rb +22 -13
- data/lib/patch_ruby/models/project.rb +24 -17
- data/lib/patch_ruby/models/project_list_response.rb +22 -13
- data/lib/patch_ruby/models/project_response.rb +22 -13
- data/lib/patch_ruby/models/sdg.rb +21 -11
- data/lib/patch_ruby/models/standard.rb +21 -11
- data/lib/patch_ruby/version.rb +2 -2
- data/lib/patch_ruby.rb +6 -1
- data/patch_ruby.gemspec +7 -3
- data/spec/api_client_spec.rb +34 -13
- data/spec/configuration_spec.rb +1 -1
- data/spec/integration/estimates_spec.rb +34 -7
- data/spec/integration/orders_spec.rb +11 -8
- data/spec/integration/preferences_spec.rb +1 -7
- data/spec/integration/projects_spec.rb +5 -17
- data/spec/models/create_mass_estimate_request_spec.rb +1 -1
- data/spec/models/error_response_spec.rb +1 -1
- data/spec/models/estimate_list_response_spec.rb +1 -1
- data/spec/models/estimate_response_spec.rb +1 -1
- data/spec/models/estimate_spec.rb +1 -1
- data/spec/models/meta_index_object_spec.rb +1 -1
- data/spec/models/order_list_response_spec.rb +1 -1
- data/spec/models/order_response_spec.rb +1 -1
- data/spec/models/order_spec.rb +1 -1
- data/spec/models/preference_list_response_spec.rb +1 -1
- data/spec/models/preference_response_spec.rb +1 -1
- data/spec/models/project_list_response_spec.rb +1 -1
- data/spec/models/project_response_spec.rb +1 -1
- data/spec/models/project_spec.rb +1 -1
- data/spec/spec_helper.rb +70 -54
- metadata +41 -41
|
@@ -30,7 +30,7 @@ describe 'CreateMassEstimateRequest' do
|
|
|
30
30
|
it_behaves_like "a generated class" do
|
|
31
31
|
let(:instance) { @instance }
|
|
32
32
|
let(:instance_hash) { { project_id: @instance.project_id, mass_g: @instance.mass_g } }
|
|
33
|
-
let(:nullable_properties) { Set.new([
|
|
33
|
+
let(:nullable_properties) { Set.new([:create_order]) }
|
|
34
34
|
end
|
|
35
35
|
|
|
36
36
|
describe 'test an instance of CreateMassEstimateRequest' do
|
|
@@ -30,7 +30,7 @@ describe 'ErrorResponse' do
|
|
|
30
30
|
it_behaves_like "a generated class" do
|
|
31
31
|
let(:instance) { @instance }
|
|
32
32
|
let(:instance_hash) { { success: @instance.success, error: @instance.error, data: @instance.data } }
|
|
33
|
-
let(:nullable_properties) { Set.new([
|
|
33
|
+
let(:nullable_properties) { Set.new([:data]) }
|
|
34
34
|
end
|
|
35
35
|
|
|
36
36
|
describe 'test an instance of ErrorResponse' do
|
|
@@ -30,7 +30,7 @@ describe 'EstimateListResponse' do
|
|
|
30
30
|
it_behaves_like "a generated class" do
|
|
31
31
|
let(:instance) { @instance }
|
|
32
32
|
let(:instance_hash) { { success: @instance.success, error: @instance.error, data: @instance.data, meta: @instance.meta } }
|
|
33
|
-
let(:nullable_properties) { Set.new([
|
|
33
|
+
let(:nullable_properties) { Set.new([:error]) }
|
|
34
34
|
end
|
|
35
35
|
|
|
36
36
|
describe 'test an instance of EstimateListResponse' do
|
|
@@ -30,7 +30,7 @@ describe 'EstimateResponse' do
|
|
|
30
30
|
it_behaves_like "a generated class" do
|
|
31
31
|
let(:instance) { @instance }
|
|
32
32
|
let(:instance_hash) { { success: @instance.success, error: @instance.error, data: @instance.data } }
|
|
33
|
-
let(:nullable_properties) { Set.new([
|
|
33
|
+
let(:nullable_properties) { Set.new([:error]) }
|
|
34
34
|
end
|
|
35
35
|
|
|
36
36
|
describe 'test an instance of EstimateResponse' do
|
|
@@ -30,7 +30,7 @@ describe 'Estimate' do
|
|
|
30
30
|
it_behaves_like "a generated class" do
|
|
31
31
|
let(:instance) { @instance }
|
|
32
32
|
let(:instance_hash) { { id: @instance.id, order: @instance.order.to_hash, production: @instance.production, type: @instance.type } }
|
|
33
|
-
let(:nullable_properties) { Set.new([
|
|
33
|
+
let(:nullable_properties) { Set.new([:order]) }
|
|
34
34
|
end
|
|
35
35
|
|
|
36
36
|
describe 'test an instance of Estimate' do
|
|
@@ -30,7 +30,7 @@ describe 'MetaIndexObject' do
|
|
|
30
30
|
it_behaves_like "a generated class" do
|
|
31
31
|
let(:instance) { @instance }
|
|
32
32
|
let(:instance_hash) { { next_page: @instance.next_page, prev_page: @instance.prev_page } }
|
|
33
|
-
let(:nullable_properties) { Set.new([
|
|
33
|
+
let(:nullable_properties) { Set.new([:next_page, :prev_page]) }
|
|
34
34
|
end
|
|
35
35
|
|
|
36
36
|
describe 'test an instance of MetaIndexObject' do
|
|
@@ -30,7 +30,7 @@ describe 'OrderListResponse' do
|
|
|
30
30
|
it_behaves_like "a generated class" do
|
|
31
31
|
let(:instance) { @instance }
|
|
32
32
|
let(:instance_hash) { { success: @instance.success, error: @instance.error, data: @instance.data, meta: @instance.meta } }
|
|
33
|
-
let(:nullable_properties) { Set.new([
|
|
33
|
+
let(:nullable_properties) { Set.new([:error]) }
|
|
34
34
|
end
|
|
35
35
|
|
|
36
36
|
describe 'test an instance of OrderListResponse' do
|
|
@@ -30,7 +30,7 @@ describe 'OrderResponse' do
|
|
|
30
30
|
it_behaves_like "a generated class" do
|
|
31
31
|
let(:instance) { @instance }
|
|
32
32
|
let(:instance_hash) { { success: @instance.success, error: @instance.error, data: @instance.data } }
|
|
33
|
-
let(:nullable_properties) { Set.new([
|
|
33
|
+
let(:nullable_properties) { Set.new([:error]) }
|
|
34
34
|
end
|
|
35
35
|
|
|
36
36
|
describe 'test an instance of OrderResponse' do
|
data/spec/models/order_spec.rb
CHANGED
|
@@ -41,7 +41,7 @@ describe 'Order' do
|
|
|
41
41
|
metadata: @instance.metadata
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
|
-
let(:nullable_properties) { Set.new([
|
|
44
|
+
let(:nullable_properties) { Set.new([:patch_fee_cents_usd, :price_cents_usd]) }
|
|
45
45
|
end
|
|
46
46
|
|
|
47
47
|
describe 'test an instance of Order' do
|
|
@@ -30,7 +30,7 @@ describe 'PreferenceListResponse' do
|
|
|
30
30
|
it_behaves_like "a generated class" do
|
|
31
31
|
let(:instance) { @instance }
|
|
32
32
|
let(:instance_hash) { { success: @instance.success, error: @instance.error, data: @instance.data, meta: @instance.meta } }
|
|
33
|
-
let(:nullable_properties) { Set.new([
|
|
33
|
+
let(:nullable_properties) { Set.new([:error]) }
|
|
34
34
|
end
|
|
35
35
|
|
|
36
36
|
describe 'test an instance of PreferenceListResponse' do
|
|
@@ -30,7 +30,7 @@ describe 'PreferenceResponse' do
|
|
|
30
30
|
it_behaves_like "a generated class" do
|
|
31
31
|
let(:instance) { @instance }
|
|
32
32
|
let(:instance_hash) { { success: @instance.success, error: @instance.error, data: @instance.data } }
|
|
33
|
-
let(:nullable_properties) { Set.new([
|
|
33
|
+
let(:nullable_properties) { Set.new([:error]) }
|
|
34
34
|
end
|
|
35
35
|
|
|
36
36
|
describe 'test an instance of PreferenceResponse' do
|
|
@@ -30,7 +30,7 @@ describe 'ProjectListResponse' do
|
|
|
30
30
|
it_behaves_like "a generated class" do
|
|
31
31
|
let(:instance) { @instance }
|
|
32
32
|
let(:instance_hash) { { success: @instance.success, error: @instance.error, data: @instance.data, meta: @instance.meta } }
|
|
33
|
-
let(:nullable_properties) { Set.new([
|
|
33
|
+
let(:nullable_properties) { Set.new([:error]) }
|
|
34
34
|
end
|
|
35
35
|
|
|
36
36
|
describe 'test an instance of ProjectListResponse' do
|
|
@@ -30,7 +30,7 @@ describe 'ProjectResponse' do
|
|
|
30
30
|
it_behaves_like "a generated class" do
|
|
31
31
|
let(:instance) { @instance }
|
|
32
32
|
let(:instance_hash) { { success: @instance.success, error: @instance.error, data: @instance.data } }
|
|
33
|
-
let(:nullable_properties) { Set.new([
|
|
33
|
+
let(:nullable_properties) { Set.new([:error]) }
|
|
34
34
|
end
|
|
35
35
|
|
|
36
36
|
describe 'test an instance of ProjectResponse' do
|
data/spec/models/project_spec.rb
CHANGED
|
@@ -44,7 +44,7 @@ describe 'Project' do
|
|
|
44
44
|
standard: @instance.standard
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
|
-
let(:nullable_properties) { Set.new([
|
|
47
|
+
let(:nullable_properties) { Set.new([:photos, :standard, :sdgs]) }
|
|
48
48
|
end
|
|
49
49
|
|
|
50
50
|
describe 'test an instance of Project' do
|
data/spec/spec_helper.rb
CHANGED
|
@@ -6,17 +6,19 @@
|
|
|
6
6
|
The version of the OpenAPI document: v1
|
|
7
7
|
Contact: developers@usepatch.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version:
|
|
9
|
+
OpenAPI Generator version: 5.2.1
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
13
13
|
# load the gem
|
|
14
14
|
require 'patch_ruby'
|
|
15
|
+
# Start custom
|
|
15
16
|
require 'constants'
|
|
16
17
|
require 'factory_bot'
|
|
18
|
+
# End custom
|
|
17
19
|
|
|
18
20
|
# Require shared spec examples
|
|
19
|
-
Dir[
|
|
21
|
+
Dir['./spec/support/**/*.rb'].sort.each { |f| require f }
|
|
20
22
|
|
|
21
23
|
# The following was generated by the `rspec --init` command. Conventionally, all
|
|
22
24
|
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
|
|
@@ -37,12 +39,6 @@ Dir["./spec/support/**/*.rb"].sort.each { |f| require f }
|
|
|
37
39
|
#
|
|
38
40
|
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
|
|
39
41
|
RSpec.configure do |config|
|
|
40
|
-
# Use FactoryBot for test factories
|
|
41
|
-
config.include FactoryBot::Syntax::Methods
|
|
42
|
-
config.before(:suite) do
|
|
43
|
-
FactoryBot.find_definitions
|
|
44
|
-
end
|
|
45
|
-
|
|
46
42
|
# rspec-expectations config goes here. You can use an alternate
|
|
47
43
|
# assertion/expectation library such as wrong or the stdlib/minitest
|
|
48
44
|
# assertions if you prefer.
|
|
@@ -66,46 +62,45 @@ RSpec.configure do |config|
|
|
|
66
62
|
mocks.verify_partial_doubles = true
|
|
67
63
|
end
|
|
68
64
|
|
|
69
|
-
# The settings below are suggested to provide a good initial experience
|
|
70
|
-
# with RSpec, but feel free to customize to your heart's content.
|
|
71
|
-
|
|
72
|
-
#
|
|
73
|
-
#
|
|
74
|
-
#
|
|
75
|
-
#
|
|
76
|
-
config.
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
#
|
|
80
|
-
#
|
|
81
|
-
#
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
#
|
|
85
|
-
#
|
|
86
|
-
# - http://
|
|
87
|
-
# - http://
|
|
88
|
-
#
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
#
|
|
92
|
-
#
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
#
|
|
96
|
-
#
|
|
97
|
-
#
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
#
|
|
106
|
-
#
|
|
107
|
-
#
|
|
108
|
-
config.profile_examples = 10
|
|
65
|
+
# The settings below are suggested to provide a good initial experience
|
|
66
|
+
# with RSpec, but feel free to customize to your heart's content.
|
|
67
|
+
# # These two settings work together to allow you to limit a spec run
|
|
68
|
+
# # to individual examples or groups you care about by tagging them with
|
|
69
|
+
# # `:focus` metadata. When nothing is tagged with `:focus`, all examples
|
|
70
|
+
# # get run.
|
|
71
|
+
# config.filter_run :focus
|
|
72
|
+
# config.run_all_when_everything_filtered = true
|
|
73
|
+
#
|
|
74
|
+
# # Allows RSpec to persist some state between runs in order to support
|
|
75
|
+
# # the `--only-failures` and `--next-failure` CLI options. We recommend
|
|
76
|
+
# # you configure your source control system to ignore this file.
|
|
77
|
+
# config.example_status_persistence_file_path = "spec/examples.txt"
|
|
78
|
+
#
|
|
79
|
+
# # Limits the available syntax to the non-monkey patched syntax that is
|
|
80
|
+
# # recommended. For more details, see:
|
|
81
|
+
# # - http://rspec.info/blog/2012/06/rspecs-new-expectation-syntax/
|
|
82
|
+
# # - http://www.teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
|
|
83
|
+
# # - http://rspec.info/blog/2014/05/notable-changes-in-rspec-3/#zero-monkey-patching-mode
|
|
84
|
+
# config.disable_monkey_patching!
|
|
85
|
+
#
|
|
86
|
+
# # This setting enables warnings. It's recommended, but in some cases may
|
|
87
|
+
# # be too noisy due to issues in dependencies.
|
|
88
|
+
# config.warnings = true
|
|
89
|
+
#
|
|
90
|
+
# # Many RSpec users commonly either run the entire suite or an individual
|
|
91
|
+
# # file, and it's useful to allow more verbose output when running an
|
|
92
|
+
# # individual spec file.
|
|
93
|
+
# if config.files_to_run.one?
|
|
94
|
+
# # Use the documentation formatter for detailed output,
|
|
95
|
+
# # unless a formatter has already been configured
|
|
96
|
+
# # (e.g. via a command-line flag).
|
|
97
|
+
# config.default_formatter = 'doc'
|
|
98
|
+
# end
|
|
99
|
+
#
|
|
100
|
+
# # Print the 10 slowest examples and example groups at the
|
|
101
|
+
# # end of the spec run, to help surface which specs are running
|
|
102
|
+
# # particularly slow.
|
|
103
|
+
# config.profile_examples = 10
|
|
109
104
|
|
|
110
105
|
# Run specs in random order to surface order dependencies. If you find an
|
|
111
106
|
# order dependency and want to debug it, you can fix the order by providing
|
|
@@ -113,10 +108,31 @@ RSpec.configure do |config|
|
|
|
113
108
|
# --seed 1234
|
|
114
109
|
config.order = :random
|
|
115
110
|
|
|
116
|
-
# Seed global randomization in this process using the `--seed` CLI option.
|
|
117
|
-
# Setting this allows you to use `--seed` to deterministically reproduce
|
|
118
|
-
# test failures related to randomization by passing the same `--seed` value
|
|
119
|
-
# as the one that triggered the failure.
|
|
120
|
-
Kernel.srand config.seed
|
|
121
|
-
|
|
111
|
+
# # Seed global randomization in this process using the `--seed` CLI option.
|
|
112
|
+
# # Setting this allows you to use `--seed` to deterministically reproduce
|
|
113
|
+
# # test failures related to randomization by passing the same `--seed` value
|
|
114
|
+
# # as the one that triggered the failure.
|
|
115
|
+
# Kernel.srand config.seed
|
|
116
|
+
|
|
117
|
+
######################
|
|
118
|
+
# Start custom section
|
|
119
|
+
######################
|
|
120
|
+
|
|
121
|
+
# Use FactoryBot for test factories
|
|
122
|
+
config.include FactoryBot::Syntax::Methods
|
|
123
|
+
config.before(:suite) do
|
|
124
|
+
FactoryBot.find_definitions
|
|
125
|
+
Patch.configure do |config|
|
|
126
|
+
if ENV.fetch('LOCAL_SDK_TEST', false)
|
|
127
|
+
config.access_token = ENV.fetch('LOCAL_PATCH_API_KEY')
|
|
128
|
+
config.scheme = 'http'
|
|
129
|
+
config.host = 'api.patch.test:3000'
|
|
130
|
+
else
|
|
131
|
+
config.access_token = ENV.fetch('SANDBOX_API_KEY')
|
|
132
|
+
end
|
|
133
|
+
end
|
|
134
|
+
end
|
|
135
|
+
######################
|
|
136
|
+
# End custom section
|
|
137
|
+
######################
|
|
122
138
|
end
|
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.
|
|
4
|
+
version: 1.10.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Patch Technology
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-
|
|
11
|
+
date: 2021-08-31 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: typhoeus
|
|
@@ -31,45 +31,39 @@ dependencies:
|
|
|
31
31
|
- !ruby/object:Gem::Version
|
|
32
32
|
version: 1.0.1
|
|
33
33
|
- !ruby/object:Gem::Dependency
|
|
34
|
-
name:
|
|
34
|
+
name: rspec
|
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
|
36
36
|
requirements:
|
|
37
37
|
- - "~>"
|
|
38
38
|
- !ruby/object:Gem::Version
|
|
39
|
-
version: '
|
|
39
|
+
version: '3.6'
|
|
40
40
|
- - ">="
|
|
41
41
|
- !ruby/object:Gem::Version
|
|
42
|
-
version:
|
|
43
|
-
type: :
|
|
42
|
+
version: 3.6.0
|
|
43
|
+
type: :development
|
|
44
44
|
prerelease: false
|
|
45
45
|
version_requirements: !ruby/object:Gem::Requirement
|
|
46
46
|
requirements:
|
|
47
47
|
- - "~>"
|
|
48
48
|
- !ruby/object:Gem::Version
|
|
49
|
-
version: '
|
|
49
|
+
version: '3.6'
|
|
50
50
|
- - ">="
|
|
51
51
|
- !ruby/object:Gem::Version
|
|
52
|
-
version:
|
|
52
|
+
version: 3.6.0
|
|
53
53
|
- !ruby/object:Gem::Dependency
|
|
54
|
-
name:
|
|
54
|
+
name: factory_bot
|
|
55
55
|
requirement: !ruby/object:Gem::Requirement
|
|
56
56
|
requirements:
|
|
57
57
|
- - "~>"
|
|
58
58
|
- !ruby/object:Gem::Version
|
|
59
|
-
version: '
|
|
60
|
-
- - ">="
|
|
61
|
-
- !ruby/object:Gem::Version
|
|
62
|
-
version: 3.6.0
|
|
59
|
+
version: '6.2'
|
|
63
60
|
type: :development
|
|
64
61
|
prerelease: false
|
|
65
62
|
version_requirements: !ruby/object:Gem::Requirement
|
|
66
63
|
requirements:
|
|
67
64
|
- - "~>"
|
|
68
65
|
- !ruby/object:Gem::Version
|
|
69
|
-
version: '
|
|
70
|
-
- - ">="
|
|
71
|
-
- !ruby/object:Gem::Version
|
|
72
|
-
version: 3.6.0
|
|
66
|
+
version: '6.2'
|
|
73
67
|
description: Ruby wrapper for the Patch API
|
|
74
68
|
email:
|
|
75
69
|
- developers@usepatch.com
|
|
@@ -83,6 +77,7 @@ files:
|
|
|
83
77
|
- Makefile
|
|
84
78
|
- README.md
|
|
85
79
|
- Rakefile
|
|
80
|
+
- bin/rspec
|
|
86
81
|
- lib/patch_ruby.rb
|
|
87
82
|
- lib/patch_ruby/api/estimates_api.rb
|
|
88
83
|
- lib/patch_ruby/api/orders_api.rb
|
|
@@ -93,9 +88,14 @@ files:
|
|
|
93
88
|
- lib/patch_ruby/configuration.rb
|
|
94
89
|
- lib/patch_ruby/models/allocation.rb
|
|
95
90
|
- lib/patch_ruby/models/create_bitcoin_estimate_request.rb
|
|
91
|
+
- lib/patch_ruby/models/create_ethereum_estimate_request.rb
|
|
92
|
+
- lib/patch_ruby/models/create_flight_estimate_request.rb
|
|
96
93
|
- lib/patch_ruby/models/create_mass_estimate_request.rb
|
|
97
94
|
- lib/patch_ruby/models/create_order_request.rb
|
|
98
95
|
- lib/patch_ruby/models/create_preference_request.rb
|
|
96
|
+
- lib/patch_ruby/models/create_shipping_estimate_request.rb
|
|
97
|
+
- lib/patch_ruby/models/create_success_response.rb
|
|
98
|
+
- lib/patch_ruby/models/create_vehicle_estimate_request.rb
|
|
99
99
|
- lib/patch_ruby/models/error_response.rb
|
|
100
100
|
- lib/patch_ruby/models/estimate.rb
|
|
101
101
|
- lib/patch_ruby/models/estimate_list_response.rb
|
|
@@ -189,53 +189,53 @@ signing_key:
|
|
|
189
189
|
specification_version: 4
|
|
190
190
|
summary: Ruby wrapper for the Patch API
|
|
191
191
|
test_files:
|
|
192
|
+
- spec/api/orders_api_spec.rb
|
|
192
193
|
- spec/api/preferences_api_spec.rb
|
|
193
194
|
- spec/api/projects_api_spec.rb
|
|
194
195
|
- spec/api/estimates_api_spec.rb
|
|
195
|
-
- spec/api/orders_api_spec.rb
|
|
196
196
|
- spec/api_client_spec.rb
|
|
197
197
|
- spec/configuration_spec.rb
|
|
198
198
|
- spec/constants.rb
|
|
199
|
-
- spec/factories/order_list_responses.rb
|
|
200
|
-
- spec/factories/preferences.rb
|
|
201
|
-
- spec/factories/project_responses.rb
|
|
202
|
-
- spec/factories/estimates.rb
|
|
203
|
-
- spec/factories/preference_responses.rb
|
|
204
199
|
- spec/factories/estimate_list_responses.rb
|
|
200
|
+
- spec/factories/allocations.rb
|
|
201
|
+
- spec/factories/create_order_requests.rb
|
|
202
|
+
- spec/factories/preference_responses.rb
|
|
203
|
+
- spec/factories/meta_index_objects.rb
|
|
205
204
|
- spec/factories/create_preference_requests.rb
|
|
205
|
+
- spec/factories/estimates.rb
|
|
206
|
+
- spec/factories/preferences.rb
|
|
207
|
+
- spec/factories/create_mass_estimate_requests.rb
|
|
206
208
|
- spec/factories/project_list_responses.rb
|
|
207
209
|
- spec/factories/error_responses.rb
|
|
208
|
-
- spec/factories/
|
|
210
|
+
- spec/factories/orders.rb
|
|
211
|
+
- spec/factories/project_responses.rb
|
|
209
212
|
- spec/factories/preference_list_responses.rb
|
|
213
|
+
- spec/factories/order_list_responses.rb
|
|
210
214
|
- spec/factories/projects.rb
|
|
211
|
-
- spec/factories/create_mass_estimate_requests.rb
|
|
212
215
|
- spec/factories/order_responses.rb
|
|
213
|
-
- spec/factories/allocations.rb
|
|
214
|
-
- spec/factories/orders.rb
|
|
215
|
-
- spec/factories/create_order_requests.rb
|
|
216
216
|
- spec/factories/estimate_responses.rb
|
|
217
|
-
- spec/integration/orders_spec.rb
|
|
218
|
-
- spec/integration/preferences_spec.rb
|
|
219
217
|
- spec/integration/estimates_spec.rb
|
|
218
|
+
- spec/integration/orders_spec.rb
|
|
220
219
|
- spec/integration/projects_spec.rb
|
|
220
|
+
- spec/integration/preferences_spec.rb
|
|
221
|
+
- spec/models/project_list_response_spec.rb
|
|
222
|
+
- spec/models/meta_index_object_spec.rb
|
|
221
223
|
- spec/models/create_preference_request_spec.rb
|
|
224
|
+
- spec/models/order_list_response_spec.rb
|
|
225
|
+
- spec/models/create_mass_estimate_request_spec.rb
|
|
222
226
|
- spec/models/preference_spec.rb
|
|
227
|
+
- spec/models/order_response_spec.rb
|
|
228
|
+
- spec/models/preference_list_response_spec.rb
|
|
229
|
+
- spec/models/estimate_spec.rb
|
|
230
|
+
- spec/models/project_response_spec.rb
|
|
223
231
|
- spec/models/estimate_response_spec.rb
|
|
224
232
|
- spec/models/error_response_spec.rb
|
|
225
|
-
- spec/models/estimate_list_response_spec.rb
|
|
226
|
-
- spec/models/create_mass_estimate_request_spec.rb
|
|
227
233
|
- spec/models/project_spec.rb
|
|
228
|
-
- spec/models/order_spec.rb
|
|
229
234
|
- spec/models/preference_response_spec.rb
|
|
230
|
-
- spec/models/order_list_response_spec.rb
|
|
231
|
-
- spec/models/project_list_response_spec.rb
|
|
232
|
-
- spec/models/project_response_spec.rb
|
|
233
|
-
- spec/models/estimate_spec.rb
|
|
234
|
-
- spec/models/meta_index_object_spec.rb
|
|
235
|
-
- spec/models/order_response_spec.rb
|
|
236
|
-
- spec/models/preference_list_response_spec.rb
|
|
237
|
-
- spec/models/allocation_spec.rb
|
|
238
235
|
- spec/models/create_order_request_spec.rb
|
|
236
|
+
- spec/models/order_spec.rb
|
|
237
|
+
- spec/models/allocation_spec.rb
|
|
238
|
+
- spec/models/estimate_list_response_spec.rb
|
|
239
239
|
- spec/patch_ruby_spec.rb
|
|
240
240
|
- spec/spec_helper.rb
|
|
241
241
|
- spec/support/shared/generated_classes.rb
|