Class: Blather::Stanza::PubSub::Event
- Inherits:
-
Message
- Object
- Message
- Blather::Stanza::PubSub::Event
- Defined in:
- lib/blather/event.rb
Instance Method Summary collapse
Instance Method Details
#items ⇒ Object
7 8 9 10 11 |
# File 'lib/blather/event.rb', line 7 def items items_node.find('.//ps:item', :ps => PS).map do |i| PubSubItem.new(nil,nil,self.document).inherit i end end |
#status ⇒ Object
13 14 15 16 |
# File 'lib/blather/event.rb', line 13 def status n = find("ps_event:event/sf:status", :ps_event => PS_EVENT, :sf => SF) Superfeedr::Status.new(n) if n end |