Class: Mapi::Pst::Item::EntryID

Inherits:
Struct
  • Object
show all
Defined in:
lib/mapi/pst.rb

Constant Summary collapse

UNPACK_STR =
'VA16V'

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(data) ⇒ EntryID

Returns a new instance of EntryID.



1527
1528
1529
1530
# File 'lib/mapi/pst.rb', line 1527

def initialize data
	data = data.unpack(UNPACK_STR) if String === data
	super(*data)
end

Instance Attribute Details

#entry_idObject

Returns the value of attribute entry_id

Returns:

  • (Object)

    the current value of entry_id



1524
1525
1526
# File 'lib/mapi/pst.rb', line 1524

def entry_id
  @entry_id
end

#idObject

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



1524
1525
1526
# File 'lib/mapi/pst.rb', line 1524

def id
  @id
end

#u1Object

Returns the value of attribute u1

Returns:

  • (Object)

    the current value of u1



1524
1525
1526
# File 'lib/mapi/pst.rb', line 1524

def u1
  @u1
end