README.md in patch_ruby-1.17.0 vs README.md in patch_ruby-1.17.1

- old
+ new

@@ -186,36 +186,9 @@ # Retrieve a list of projects with at least 100 grams of available offsets minimum_available_mass = 100 Patch::Project.retrieve_projects(minimum_available_mass: minimum_available_mass) ``` - -### Preferences - -Preferences are how you route your orders in Patch. If you don't have a preference, Patch will allocate your order to the least expensive option. If you do have a preference, all of your orders will be sent to that project. You can set your preferences via API, or through the [Patch Dashboard](https://dashboard.patch.io/projects). - -[API Reference](https://docs.patch.io/#/?id=preferences) - -#### Examples - -```ruby -# Create a preference -project_id = 'pro_test_1234' # Pass in the project_id for your preference -Patch::Preference.create_preference(project_id: project_id) - -# Retrieve a preference -preference_id = 'pre_test_1234' # Pass in the preferences's id -Patch::Preference.retrieve_preference(preference_id) - -# Delete a preference -preference_id = 'pre_test_1234' # Pass in the preferences's id -Patch::Preference.delete_preference(preference_id) - -# Retrieve a list of preferences -page = 1 # Pass in which page of preferences you'd like -Patch::Preference.retrieve_preferences(page: page) -``` - ## Contributing While we value open-source contributions to this SDK, the core of this library is generated programmatically. Complex additions made directly to the library would have to be moved over to our generation code, otherwise they would be overwritten upon the next generated release. Feel free to open a PR as a proof of concept, but know that we will not be able to merge it as-is. We suggest opening an issue first to discuss with us! On the other hand, contributions to the README, as well as new test cases are always very welcome!