Class: Jabber::PubSub::Item

Class | Jabber::PubSub::Item
In: | lib/xmpp4r/pubsub/children/item.rb
Parent: | XMPPElement

Item One PubSub Item

### Methods

id id= new

### Public Class methods

new(id=nil)

[Source]

        # File lib/xmpp4r/pubsub/children/item.rb, line 14
    14:       def initialize(id=nil)
    15:         super()
    16:         attributes['id'] = id
    17:       end

### Public Instance methods

id()

[Source]

        # File lib/xmpp4r/pubsub/children/item.rb, line 18
    18:       def id
    19:         attributes['id']
    20:       end

id=(myid)

[Source]

        # File lib/xmpp4r/pubsub/children/item.rb, line 21
    21:       def id=(myid)
    22:         attributes['id'] = myid
    23:       end

[Validate]