class EmuPower::Notifications::MeterInfo
Attributes
account[RW]
auth[RW]
enabled[RW]
host[RW]
nickname[RW]
type[RW]
Public Instance Methods
build(hash)
click to toggle source
# File lib/emu_power/notifications.rb, line 206 def build(hash) self.type = parse_hex('Type') self.nickname = hash['Nickname'] self.account = hash['Account'] self.auth = hash['Auth'] self.host = hash['Host'] self.enabled = parse_bool('Enabled') end