#
# (c) Jan Gehring <jan.gehring@gmail.com>
#
package
Rex::Inventory::SMBios::Memory;
use
v5.12.5;
use
warnings;
our
$VERSION
=
'1.16.0'
;
# VERSION
__PACKAGE__->section(
"memory device"
);
__PACKAGE__->
has
(
[
{
key
=>
'Type'
,
from
=>
"Memory Type"
},
'Speed'
,
'Size'
,
'Bank Locator'
,
'Form Factor'
,
{
key
=>
'Locator'
,
from
=>
"Device Locator"
},
],
1
);
# is_array 1
sub
new {
my
$that
=
shift
;
my
$proto
=
ref
(
$that
) ||
$that
;
my
$self
=
$that
->SUPER::new(
@_
);
bless
(
$self
,
$proto
);
return
$self
;
}
1;