Sha256: c646dcc4e2372a7670628e84363b905e19f2beb7112179377bac507376e2e0e0
Contents?: true
Size: 256 Bytes
Versions: 2
Compression:
Stored size: 256 Bytes
Contents
module Easee class Charger def initialize(data) @data = data.symbolize_keys end def id = @data.fetch(:id) def name = @data.fetch(:name) def color = @data.fetch(:color) def product_code = @data.fetch(:productCode) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
stekker_easee-1.0.2 | lib/easee/charger.rb |
stekker_easee-1.0.1 | lib/easee/charger.rb |