Class: TRMNL::API::Models::Firmware
- Inherits:
-
Data
- Object
- Data
- TRMNL::API::Models::Firmware
- Defined in:
- lib/trmnl/api/models/firmware.rb
Overview
Models API response.
Instance Attribute Summary collapse
-
#url ⇒ Object
readonly
Returns the value of attribute url.
-
#version ⇒ Object
readonly
Returns the value of attribute version.
Class Method Summary collapse
Instance Attribute Details
#url ⇒ Object (readonly)
Returns the value of attribute url
7 8 9 |
# File 'lib/trmnl/api/models/firmware.rb', line 7 def url @url end |
#version ⇒ Object (readonly)
Returns the value of attribute version
7 8 9 |
# File 'lib/trmnl/api/models/firmware.rb', line 7 def version @version end |
Class Method Details
.for(attributes) ⇒ Object
8 |
# File 'lib/trmnl/api/models/firmware.rb', line 8 def self.for(attributes) = new(**attributes) |