Sha256: 6ab2bc95f3dc17bae54770ca48495305fbbe4261677e712c6362b29afad0c911

Contents?: true

Size: 393 Bytes

Versions: 1

Compression:

Stored size: 393 Bytes

Contents

module Wifidiag
  class ApData
    def initialize(name: , mac_address: nil, **kwargs)
      @name = name
      @mac_address = mac_address
      @additional_data = kwargs
    end

    attr_reader :name, :mac_address
    attr_reader :additional_data


    def to_h
      {
        name: name,
        mac_address: mac_address,
        additional_data: additional_data,
      }
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
wifidiag-0.1.0 lib/wifidiag/ap_data.rb