class EmuPower::Notifications::ScheduleInfo

Attributes

enabled[RW]
event[RW]
frequency[RW]
mode[RW]

Public Instance Methods

build(hash) click to toggle source
# File lib/emu_power/notifications.rb, line 383
def build(hash)
        self.mode = hash['Mode']
        self.event = hash['Event']
        self.frequency = parse_hex('Frequency')
        self.enabled = parse_bool('Enabled')
end