From 56a4072bc63580060893cb85f7ef923e16edba82 Mon Sep 17 00:00:00 2001 From: Brooke Kuhlmann Date: Tue, 6 May 2025 08:02:23 -0600 Subject: [PATCH] Fixed endpoint usage documentation Necessary to show the proper messages to send when using the client. This gets the documentation up-to-date with the latest version release. Milestone: patch --- README.adoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.adoc b/README.adoc index 30c1607..9504d8c 100644 --- a/README.adoc +++ b/README.adoc @@ -130,7 +130,7 @@ Allows you to obtain the current stable firmware version. Example: [source,ruby] ---- client = TRMNL::API::Client.new -client.call +client.firmware # Success(#) ---- @@ -142,7 +142,7 @@ Allows you to create a log entry (which is what the device reports when it captu [source,ruby] ---- client = TRMNL::API::Client.new -client.call token: "secret", +client.log token: "secret", log: { logs_array: [ { @@ -181,7 +181,7 @@ Allows you to obtain the setup response for when a new device is setup. You must [source,ruby] ---- client = TRMNL::API::Client.new -client.call id: "A1:B2:C3:D4:E5:F6" +client.setup id: "A1:B2:C3:D4:E5:F6" # Success( # #