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