class EmuPower::Notifications::InstantaneousDemand
Attributes
demand[RW]
digits_left[RW]
digits_right[RW]
suppress_leading_zeroes[RW]
Public Instance Methods
build(hash)
click to toggle source
# File lib/emu_power/notifications.rb, line 299 def build(hash) self.demand = parse_amount('Demand') self.digits_right = parse_hex('DigitsRight') self.digits_left = parse_hex('DigitsLeft') self.suppress_leading_zeroes = parse_bool('SuppressLeadingZero') end