Skip to content

Commit a4cfb97

Browse files
authored
Remove the preferences endpoints (#53)
* Remove preferences * Cleanup * Simplify test
1 parent 13bc77a commit a4cfb97

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+71
-1467
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [1.16.0] - 2021-12-07
9+
10+
### Removed
11+
12+
- Removes the `preferences` endpoints (deprecated)
13+
814
## [1.15.2] - 2021-11-08
915

1016
### Added

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
patch_ruby (1.15.2)
4+
patch_ruby (1.16.0)
55
typhoeus (~> 1.0, >= 1.0.1)
66

77
GEM

lib/patch_ruby.rb

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#The core API used to integrate with Patch's service
55
66
The version of the OpenAPI document: v1
7-
Contact: developers@usepatch.com
7+
Contact: engineering@usepatch.com
88
Generated by: https://openapi-generator.tech
99
OpenAPI Generator version: 5.2.1
1010
@@ -23,7 +23,6 @@
2323
require 'patch_ruby/models/create_flight_estimate_request'
2424
require 'patch_ruby/models/create_mass_estimate_request'
2525
require 'patch_ruby/models/create_order_request'
26-
require 'patch_ruby/models/create_preference_request'
2726
require 'patch_ruby/models/create_shipping_estimate_request'
2827
require 'patch_ruby/models/create_success_response'
2928
require 'patch_ruby/models/create_vehicle_estimate_request'
@@ -38,9 +37,6 @@
3837
require 'patch_ruby/models/order_response'
3938
require 'patch_ruby/models/parent_technology_type'
4039
require 'patch_ruby/models/photo'
41-
require 'patch_ruby/models/preference'
42-
require 'patch_ruby/models/preference_list_response'
43-
require 'patch_ruby/models/preference_response'
4440
require 'patch_ruby/models/project'
4541
require 'patch_ruby/models/project_list_response'
4642
require 'patch_ruby/models/project_response'
@@ -52,7 +48,6 @@
5248
# APIs
5349
require 'patch_ruby/api/estimates_api'
5450
require 'patch_ruby/api/orders_api'
55-
require 'patch_ruby/api/preferences_api'
5651
require 'patch_ruby/api/projects_api'
5752
require 'patch_ruby/api/technology_types_api'
5853

lib/patch_ruby/api/estimates_api.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#The core API used to integrate with Patch's service
55
66
The version of the OpenAPI document: v1
7-
Contact: developers@usepatch.com
7+
Contact: engineering@usepatch.com
88
Generated by: https://openapi-generator.tech
99
OpenAPI Generator version: 5.2.1
1010

lib/patch_ruby/api/orders_api.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#The core API used to integrate with Patch's service
55
66
The version of the OpenAPI document: v1
7-
Contact: developers@usepatch.com
7+
Contact: engineering@usepatch.com
88
Generated by: https://openapi-generator.tech
99
OpenAPI Generator version: 5.2.1
1010

lib/patch_ruby/api/projects_api.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#The core API used to integrate with Patch's service
55
66
The version of the OpenAPI document: v1
7-
Contact: developers@usepatch.com
7+
Contact: engineering@usepatch.com
88
Generated by: https://openapi-generator.tech
99
OpenAPI Generator version: 5.2.1
1010

lib/patch_ruby/api/technology_types_api.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#The core API used to integrate with Patch's service
55
66
The version of the OpenAPI document: v1
7-
Contact: developers@usepatch.com
7+
Contact: engineering@usepatch.com
88
Generated by: https://openapi-generator.tech
99
OpenAPI Generator version: 5.2.1
1010

lib/patch_ruby/api_client.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#The core API used to integrate with Patch's service
55
66
The version of the OpenAPI document: v1
7-
Contact: developers@usepatch.com
7+
Contact: engineering@usepatch.com
88
Generated by: https://openapi-generator.tech
99
OpenAPI Generator version: 5.2.1
1010
@@ -31,7 +31,7 @@ class ApiClient
3131
# @option config [Configuration] Configuration for initializing the object, default to Configuration.default
3232
def initialize(config = Configuration.default)
3333
@config = config
34-
@user_agent = "patch-ruby/1.15.2"
34+
@user_agent = "patch-ruby/1.16.0"
3535
@default_headers = {
3636
'Content-Type' => 'application/json',
3737
'User-Agent' => @user_agent

lib/patch_ruby/api_error.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#The core API used to integrate with Patch's service
55
66
The version of the OpenAPI document: v1
7-
Contact: developers@usepatch.com
7+
Contact: engineering@usepatch.com
88
Generated by: https://openapi-generator.tech
99
OpenAPI Generator version: 5.2.1
1010

lib/patch_ruby/configuration.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#The core API used to integrate with Patch's service
55
66
The version of the OpenAPI document: v1
7-
Contact: developers@usepatch.com
7+
Contact: engineering@usepatch.com
88
Generated by: https://openapi-generator.tech
99
OpenAPI Generator version: 5.2.1
1010
@@ -229,12 +229,12 @@ def auth_settings
229229
def server_settings
230230
[
231231
{
232-
url: "https://{defaultHost}",
232+
url: "{defaultUrl}",
233233
description: "No description provided",
234234
variables: {
235-
defaultHost: {
235+
defaultUrl: {
236236
description: "No description provided",
237-
default_value: "api.patch.io",
237+
default_value: "https://api.patch.io",
238238
}
239239
}
240240
}

0 commit comments

Comments
 (0)