Class: TRMNL::API::Models::Firmware::Flash
- Inherits:
-
Data
- Object
- Data
- TRMNL::API::Models::Firmware::Flash
- Defined in:
- lib/trmnl/api/models/firmware/flash.rb
Overview
Models the data of the API response.
Instance Attribute Summary collapse
-
#chip_family ⇒ Object
readonly
Returns the value of attribute chip_family.
-
#label ⇒ Object
readonly
Returns the value of attribute label.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#versions ⇒ Object
readonly
Returns the value of attribute versions.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(name: nil, label: nil, chip_family: nil, versions: Core::EMPTY_ARRAY) ⇒ Flash
constructor
A new instance of Flash.
Constructor Details
#initialize(name: nil, label: nil, chip_family: nil, versions: Core::EMPTY_ARRAY) ⇒ Flash
Returns a new instance of Flash.
16 17 18 |
# File 'lib/trmnl/api/models/firmware/flash.rb', line 16 def initialize name: nil, label: nil, chip_family: nil, versions: Core::EMPTY_ARRAY super end |
Instance Attribute Details
#chip_family ⇒ Object (readonly)
Returns the value of attribute chip_family
10 11 12 |
# File 'lib/trmnl/api/models/firmware/flash.rb', line 10 def chip_family @chip_family end |
#label ⇒ Object (readonly)
Returns the value of attribute label
10 11 12 |
# File 'lib/trmnl/api/models/firmware/flash.rb', line 10 def label @label end |
#name ⇒ Object (readonly)
Returns the value of attribute name
10 11 12 |
# File 'lib/trmnl/api/models/firmware/flash.rb', line 10 def name @name end |
#versions ⇒ Object (readonly)
Returns the value of attribute versions
10 11 12 |
# File 'lib/trmnl/api/models/firmware/flash.rb', line 10 def versions @versions end |