diff --git a/README.adoc b/README.adoc index 6e3078f..5ae0e6a 100644 --- a/README.adoc +++ b/README.adoc @@ -76,8 +76,8 @@ end You can configure the client via the following environment variables: -* `TRMNL_API_CONTENT_TYPE`: Defines the HTTP `Content-Type` header. You shouldn't need to change this but is here if you need it. Default: "application/json". -* `TRMNL_API_URI`: Defines the API URI. Default: "https://trmnl.app/api". +* `TRMNL_API_CONTENT_TYPE`: Defines the HTTP `Content-Type` header. You shouldn't need to change this but is here if you need it. Default: `"application/json"`. +* `TRMNL_API_URI`: Defines the API URI. Default: `"https://trmnl.app/api"`. Any/all environment changes will be applied unless you override these settings via the client configuration block shown above. @@ -227,46 +227,48 @@ client = TRMNL::API.new client.models # Success( -# # +# [ +# # +# ] # ) ---- @@ -274,7 +276,7 @@ client.models ==== Palettes -Allows you to obtain palettes details. The IDs correlate to the `palette_ids` as found in the Models API. Example: +Allows you to obtain palettes details. The names correlate to the `palette_names` as found in the Models API. Example: [source,ruby] ---- @@ -283,19 +285,30 @@ client.palettes Success( [ - #, - #, + # ] ) diff --git a/trmnl-api.gemspec b/trmnl-api.gemspec index b7c73fa..5e90f7e 100644 --- a/trmnl-api.gemspec +++ b/trmnl-api.gemspec @@ -2,7 +2,7 @@ Gem::Specification.new do |spec| spec.name = "trmnl-api" - spec.version = "0.12.0" + spec.version = "0.13.0" spec.authors = ["TRMNL"] spec.email = ["engineering@trmnl.com"] spec.homepage = "https://github.com/usetrmnl/trmnl-api"