Class: Kontakt::Firmware
- Inherits:
-
Auth
- Object
- Configuration
- Auth
- Kontakt::Firmware
- Defined in:
- lib/kontakt.rb
Instance Attribute Summary
Attributes inherited from Configuration
Class Method Summary collapse
Methods inherited from Auth
Methods inherited from Configuration
Constructor Details
This class inherits a constructor from Kontakt::Configuration
Class Method Details
.latest(uniqueId, options = {deviceType: ''}) ⇒ Object
> Firmware
132 133 134 135 136 137 138 139 140 |
# File 'lib/kontakt.rb', line 132 def self.latest(uniqueId, = {deviceType: ''}) = { params: { :uniqueId => uniqueId, :deviceType => [:deviceType] } } return JSON.parse(make_request('get', '/firmware/last', )) end |