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.



1663
1664
1665
1666
# File 'lib/mapi/pst.rb', line 1663

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



1660
1661
1662
# File 'lib/mapi/pst.rb', line 1660

def entry_id
  @entry_id
end

#idObject

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



1660
1661
1662
# File 'lib/mapi/pst.rb', line 1660

def id
  @id
end

#u1Object

Returns the value of attribute u1

Returns:

  • (Object)

    the current value of u1



1660
1661
1662
# File 'lib/mapi/pst.rb', line 1660

def u1
  @u1
end