Sha256: a5622c855a8a51136cfdd9dd8f9c3d9b58261309026f02cc8386e3fe6dafe390
Contents?: true
Size: 414 Bytes
Versions: 1
Compression:
Stored size: 414 Bytes
Contents
module Wifidiag class Report def initialize(client_ip, client_data, advanced_data) @client_ip = client_ip @client_data = client_data @advanced_data = advanced_data end attr_reader :client_ip, :client_data, :advanced_data def to_h { client_ip: client_ip, client_data: client_data.to_h, advanced_data: advanced_data.to_h, } end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
wifidiag-0.1.0 | lib/wifidiag/report.rb |