diff --git a/lib/trmnl/api/models/current_screen.rb b/lib/trmnl/api/models/current_screen.rb index c5b35c8..43309c0 100644 --- a/lib/trmnl/api/models/current_screen.rb +++ b/lib/trmnl/api/models/current_screen.rb @@ -3,7 +3,7 @@ module TRMNL module API module Models - # Models API response. + # Models the data of the API response. CurrentScreen = Data.define :refresh_rate, :image_url, :filename do def self.for(attributes) = new(**attributes) end diff --git a/lib/trmnl/api/models/display.rb b/lib/trmnl/api/models/display.rb index 8a59e09..21f6b08 100644 --- a/lib/trmnl/api/models/display.rb +++ b/lib/trmnl/api/models/display.rb @@ -3,7 +3,7 @@ module TRMNL module API module Models - # Models data for API display responses. + # Models the data of the API response. Display = Struct.new( :filename, :firmware_url, diff --git a/lib/trmnl/api/models/firmware.rb b/lib/trmnl/api/models/firmware.rb index 2ba73c3..0593cdf 100644 --- a/lib/trmnl/api/models/firmware.rb +++ b/lib/trmnl/api/models/firmware.rb @@ -3,7 +3,7 @@ module TRMNL module API module Models - # Models API response. + # Models the data of the API response. Firmware = Data.define :url, :version do def self.for(attributes) = new(**attributes) end diff --git a/lib/trmnl/api/models/ip_address.rb b/lib/trmnl/api/models/ip_address.rb index 0a1250e..66e0786 100644 --- a/lib/trmnl/api/models/ip_address.rb +++ b/lib/trmnl/api/models/ip_address.rb @@ -3,7 +3,7 @@ module TRMNL module API module Models - # IPs API response. + # Models the data of the API response. IPAddress = Data.define :version_4, :version_6 do def self.for attributes new(**attributes.transform_keys(ipv4: :version_4, ipv6: :version_6)) diff --git a/lib/trmnl/api/models/model.rb b/lib/trmnl/api/models/model.rb index 0c01270..d997d33 100644 --- a/lib/trmnl/api/models/model.rb +++ b/lib/trmnl/api/models/model.rb @@ -3,7 +3,7 @@ module TRMNL module API module Models - # Models data for API display responses. + # Models the data of the API response. Model = Struct.new( :name, :label, diff --git a/lib/trmnl/api/models/palette.rb b/lib/trmnl/api/models/palette.rb index 7a1e7a0..a7ca6ca 100644 --- a/lib/trmnl/api/models/palette.rb +++ b/lib/trmnl/api/models/palette.rb @@ -3,7 +3,7 @@ module TRMNL module API module Models - # IPs API response. + # Models the data of the API response. Palette = Data.define :id, :name, :grays, :colors, :framework_class do def self.for(attributes) = new(**attributes) end diff --git a/lib/trmnl/api/models/setup.rb b/lib/trmnl/api/models/setup.rb index 22c1e0f..5b41615 100644 --- a/lib/trmnl/api/models/setup.rb +++ b/lib/trmnl/api/models/setup.rb @@ -3,7 +3,7 @@ module TRMNL module API module Models - # Models API response. + # Models the data of the API response. Setup = Data.define :api_key, :friendly_id, :image_url, :message do def self.for(attributes) = new(**attributes) end