Sha256: 9add2eed805bd3a5525a645ed511c8f7e50e166a0050a9e5186c8338da56d6e5

Contents?: true

Size: 202 Bytes

Versions: 6

Compression:

Stored size: 202 Bytes

Contents

module Zaptec
  class MeterReading
    attr_reader :reading_kwh, :timestamp

    def initialize(reading_kwh:, timestamp:)
      @reading_kwh = reading_kwh
      @timestamp = timestamp
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
stekker_zaptec-1.2.1 lib/zaptec/meter_reading.rb
stekker_zaptec-1.2.0 lib/zaptec/meter_reading.rb
stekker_zaptec-1.1.1 lib/zaptec/meter_reading.rb
stekker_zaptec-1.1.0 lib/zaptec/meter_reading.rb
stekker_zaptec-1.0.1 lib/zaptec/meter_reading.rb
stekker_zaptec-1.0.0 lib/zaptec/meter_reading.rb