Sha256: 55bf92544fa1393ab84c961ba8776e226fba2c634d9dcff2f548fb4d6c5884b0

Contents?: true

Size: 551 Bytes

Versions: 18

Compression:

Stored size: 551 Bytes

Contents

# =XMPP4R - XMPP Library for Ruby
# License:: Ruby's license (see the LICENSE file) or GNU GPL, at your option.
# Website::http://home.gna.org/xmpp4r/

require 'xmpp4r/xmppelement'

module Jabber
  module PubSub

    ##
    # Publish
    #
    # A <publish> XMPP element, see example 1 in
    # http://www.xmpp.org/extensions/xep-0060.html#intro-howitworks
    class Publish < XMPPElement
      name_xmlns 'publish', NS_PUBSUB
      ##
      # return the node for this publication
      def node
        attributes['node']
      end
    end
  end
end

Version data entries

18 entries across 18 versions & 7 rubygems

Version Path
bryanl-xmpp4r-0.3.2 lib/xmpp4r/pubsub/children/publish.rb
edavey-xmpp4r-0.4.1 lib/xmpp4r/pubsub/children/publish.rb
edavey-xmpp4r-0.4.2 lib/xmpp4r/pubsub/children/publish.rb
edavey-xmpp4r-0.4 lib/xmpp4r/pubsub/children/publish.rb
heipei-xmpp4r-0.3.2 lib/xmpp4r/pubsub/children/publish.rb
cerberus-0.8.0 lib/vendor/xmpp4r/lib/xmpp4r/pubsub/children/publish.rb
cerberus-0.7.9 lib/vendor/xmpp4r/lib/xmpp4r/pubsub/children/publish.rb
edavis10-cerberus-0.7.8 lib/vendor/xmpp4r/lib/xmpp4r/pubsub/children/publish.rb
cerberus-0.7.8 lib/vendor/xmpp4r/lib/xmpp4r/pubsub/children/publish.rb
cerberus-0.7.7 lib/vendor/xmpp4r/lib/xmpp4r/pubsub/children/publish.rb
cerberus-0.7.6 lib/vendor/xmpp4r/lib/xmpp4r/pubsub/children/publish.rb
cerberus-0.7.2 lib/vendor/xmpp4r/lib/xmpp4r/pubsub/children/publish.rb
cerberus-0.7.5 lib/vendor/xmpp4r/lib/xmpp4r/pubsub/children/publish.rb
cerberus-0.7 lib/vendor/xmpp4r/lib/xmpp4r/pubsub/children/publish.rb
mack-notifier-0.8.3 lib/gems/xmpp4r-0.4/lib/xmpp4r/pubsub/children/publish.rb
mack-notifier-0.8.2 lib/gems/xmpp4r-0.4/lib/xmpp4r/pubsub/children/publish.rb
mack-notifier-0.8.3.1 lib/gems/xmpp4r-0.4/lib/xmpp4r/pubsub/children/publish.rb
xmpp4r-0.4 lib/xmpp4r/pubsub/children/publish.rb