Sha256: a5562b1f623a69ca9fe6cf5b152b5c1bddbc4b9d476cff4809ed36ea1fb02820

Contents?: true

Size: 312 Bytes

Versions: 1

Compression:

Stored size: 312 Bytes

Contents

module LanScanner

  class Device
    attr_reader :host_name
    attr_reader :remote_address
    attr_reader :state # 'up','down','unknown'

    def initialize(remote_address:, host_name: nil, state: nil)
      @host_name = host_name
      @remote_address = remote_address
      @state = state
    end
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
lan_scanner-0.0.3 lib/lan_scanner/device.rb