Sha256: 59c31199e7238e9e88297bb9297a77100a2c1a00a0b18b3d5369f8e7abebb0e7

Contents?: true

Size: 248 Bytes

Versions: 1

Compression:

Stored size: 248 Bytes

Contents

require_relative 'addr'
require_relative 'uuid_entity'

module Kamerling
  class Client < UUIDEntity
    attrs addr: Addr, busy: Boolean, type: Symbol
    defaults busy: false

    def to_h
      attributes.merge(type: type.to_s)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
kamerling-0.0.3 lib/kamerling/client.rb