Sha256: 2164d369a7ff88479fa8708eee549202b4d81436359023058a9a41ebbc9c9a2b

Contents?: true

Size: 210 Bytes

Versions: 1

Compression:

Stored size: 210 Bytes

Contents

module MEACControl
  class Device
    attr_reader :id
    attr_accessor :name

    def initialize(device_id, options = {})
      @id = device_id
      @name = options[:name] if options[:name]
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
meac_control-1.0.0 lib/meac_control/device.rb