class EmuPower::Notifications::DeviceInfo

Attributes

date_code[RW]
firmware_version[RW]
hardware_version[RW]
image_type[RW]
install_code[RW]
manufacturer[RW]
model[RW]

Public Instance Methods

build(hash) click to toggle source
# File lib/emu_power/notifications.rb, line 228
def build(hash)
        self.install_code = hash['InstallCode']
        self.link_key = hash['LinkKey']
        self.firmware_version = hash['FWVersion']
        self.hardware_version = hash['HWVersion']
        self.image_type = hash['ImageType']
        self.manufacturer = hash['Manufacturer']
        self.model = hash['ModelId']
        self.date_code = hash['DateCode']
end