Skip to content

Commit c4ee047

Browse files
committed
1.3.0
1 parent 89f0d12 commit c4ee047

File tree

4 files changed

+27
-27
lines changed

4 files changed

+27
-27
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ 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.3.5] - 2021-02-08
8+
## [1.3.0] - 2021-02-08
99

1010
### Added
1111

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.3.5)
4+
patch_ruby (1.3.0)
55
json (~> 2.1, >= 2.1.0)
66
typhoeus (~> 1.0, >= 1.0.1)
77

lib/patch_ruby/api/preferences_api.rb

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ def initialize(api_client = ApiClient.default)
2727
@api_client = api_client
2828
end
2929
# creates a project preference
30-
# Creates a project preference for the given organization. If you have a `preference` in place, all of your orders will be directed to the project the preference points to.
31-
# @param create_preference_request [CreatePreferenceRequest]
30+
# Creates a project preference for the given organization. If you have a `preference` in place, all of your orders will be directed to the project the preference points to.
31+
# @param create_preference_request [CreatePreferenceRequest]
3232
# @param [Hash] opts the optional parameters
3333
# @return [PreferenceResponse]
3434
def create_preference(create_preference_request, opts = {})
@@ -37,8 +37,8 @@ def create_preference(create_preference_request, opts = {})
3737
end
3838

3939
# creates a project preference
40-
# Creates a project preference for the given organization. If you have a `preference` in place, all of your orders will be directed to the project the preference points to.
41-
# @param create_preference_request [CreatePreferenceRequest]
40+
# Creates a project preference for the given organization. If you have a `preference` in place, all of your orders will be directed to the project the preference points to.
41+
# @param create_preference_request [CreatePreferenceRequest]
4242
# @param [Hash] opts the optional parameters
4343
# @return [Array<(PreferenceResponse, Integer, Hash)>] PreferenceResponse data, response status code and response headers
4444
def create_preference_with_http_info(create_preference_request, opts = {})
@@ -66,10 +66,10 @@ def create_preference_with_http_info(create_preference_request, opts = {})
6666
form_params = opts[:form_params] || {}
6767

6868
# http body (model)
69-
post_body = opts[:body] || @api_client.object_to_http_body(create_preference_request)
69+
post_body = opts[:body] || @api_client.object_to_http_body(create_preference_request)
7070

7171
# return_type
72-
return_type = opts[:return_type] || 'PreferenceResponse'
72+
return_type = opts[:return_type] || 'PreferenceResponse'
7373

7474
# auth_names
7575
auth_names = opts[:auth_names] || ['bearer_auth']
@@ -91,8 +91,8 @@ def create_preference_with_http_info(create_preference_request, opts = {})
9191
end
9292

9393
# Deletes an organization's preference for a project
94-
# Deletes the given `preference`. Once a preference is deleted, it cannot be undone. If you want to restore your previous preference, create a new one.
95-
# @param id [String]
94+
# Deletes the given `preference`. Once a preference is deleted, it cannot be undone. If you want to restore your previous preference, create a new one.
95+
# @param id [String]
9696
# @param [Hash] opts the optional parameters
9797
# @return [PreferenceResponse]
9898
def delete_preference(id, opts = {})
@@ -101,8 +101,8 @@ def delete_preference(id, opts = {})
101101
end
102102

103103
# Deletes an organization&#39;s preference for a project
104-
# Deletes the given &#x60;preference&#x60;. Once a preference is deleted, it cannot be undone. If you want to restore your previous preference, create a new one.
105-
# @param id [String]
104+
# Deletes the given &#x60;preference&#x60;. Once a preference is deleted, it cannot be undone. If you want to restore your previous preference, create a new one.
105+
# @param id [String]
106106
# @param [Hash] opts the optional parameters
107107
# @return [Array<(PreferenceResponse, Integer, Hash)>] PreferenceResponse data, response status code and response headers
108108
def delete_preference_with_http_info(id, opts = {})
@@ -128,10 +128,10 @@ def delete_preference_with_http_info(id, opts = {})
128128
form_params = opts[:form_params] || {}
129129

130130
# http body (model)
131-
post_body = opts[:body]
131+
post_body = opts[:body]
132132

133133
# return_type
134-
return_type = opts[:return_type] || 'PreferenceResponse'
134+
return_type = opts[:return_type] || 'PreferenceResponse'
135135

136136
# auth_names
137137
auth_names = opts[:auth_names] || ['bearer_auth']
@@ -153,8 +153,8 @@ def delete_preference_with_http_info(id, opts = {})
153153
end
154154

155155
# Retrieve the preference
156-
# Retrieve the preference and project of an organization. You can only retrieve preferences associated with your organization.
157-
# @param id [String]
156+
# Retrieve the preference and project of an organization. You can only retrieve preferences associated with your organization.
157+
# @param id [String]
158158
# @param [Hash] opts the optional parameters
159159
# @return [PreferenceResponse]
160160
def retrieve_preference(id, opts = {})
@@ -163,8 +163,8 @@ def retrieve_preference(id, opts = {})
163163
end
164164

165165
# Retrieve the preference
166-
# Retrieve the preference and project of an organization. You can only retrieve preferences associated with your organization.
167-
# @param id [String]
166+
# Retrieve the preference and project of an organization. You can only retrieve preferences associated with your organization.
167+
# @param id [String]
168168
# @param [Hash] opts the optional parameters
169169
# @return [Array<(PreferenceResponse, Integer, Hash)>] PreferenceResponse data, response status code and response headers
170170
def retrieve_preference_with_http_info(id, opts = {})
@@ -190,10 +190,10 @@ def retrieve_preference_with_http_info(id, opts = {})
190190
form_params = opts[:form_params] || {}
191191

192192
# http body (model)
193-
post_body = opts[:body]
193+
post_body = opts[:body]
194194

195195
# return_type
196-
return_type = opts[:return_type] || 'PreferenceResponse'
196+
return_type = opts[:return_type] || 'PreferenceResponse'
197197

198198
# auth_names
199199
auth_names = opts[:auth_names] || ['bearer_auth']
@@ -215,19 +215,19 @@ def retrieve_preference_with_http_info(id, opts = {})
215215
end
216216

217217
# Retrieves a list of preferences
218-
# Retrieves a list of preferences and associated projects of an organization. You can only retrieve preferences associated with your organization.
218+
# Retrieves a list of preferences and associated projects of an organization. You can only retrieve preferences associated with your organization.
219219
# @param [Hash] opts the optional parameters
220-
# @option opts [Integer] :page
220+
# @option opts [Integer] :page
221221
# @return [PreferenceListResponse]
222222
def retrieve_preferences(opts = {})
223223
data, _status_code, _headers = retrieve_preferences_with_http_info(opts)
224224
data
225225
end
226226

227227
# Retrieves a list of preferences
228-
# Retrieves a list of preferences and associated projects of an organization. You can only retrieve preferences associated with your organization.
228+
# Retrieves a list of preferences and associated projects of an organization. You can only retrieve preferences associated with your organization.
229229
# @param [Hash] opts the optional parameters
230-
# @option opts [Integer] :page
230+
# @option opts [Integer] :page
231231
# @return [Array<(PreferenceListResponse, Integer, Hash)>] PreferenceListResponse data, response status code and response headers
232232
def retrieve_preferences_with_http_info(opts = {})
233233
if @api_client.config.debugging
@@ -249,10 +249,10 @@ def retrieve_preferences_with_http_info(opts = {})
249249
form_params = opts[:form_params] || {}
250250

251251
# http body (model)
252-
post_body = opts[:body]
252+
post_body = opts[:body]
253253

254254
# return_type
255-
return_type = opts[:return_type] || 'PreferenceListResponse'
255+
return_type = opts[:return_type] || 'PreferenceListResponse'
256256

257257
# auth_names
258258
auth_names = opts[:auth_names] || ['bearer_auth']

lib/patch_ruby/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@
1111
=end
1212

1313
module Patch
14-
VERSION = '1.3.5'
14+
VERSION = '1.3.0'
1515
end

0 commit comments

Comments
 (0)