Sha256: 2d62207168599fcb5ffcf95538cb249ec2179a5caae2161da5623d7d96e1717a

Contents?: true

Size: 522 Bytes

Versions: 33

Compression:

Stored size: 522 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/query'

module Jabber
  module RPC
    class IqQueryRPC < IqQuery
      NS_RPC = 'jabber:iq:rpc'
      name_xmlns 'query', NS_RPC

      # TODO: Is typed_add with a String right here?
      def typed_add(e)
        if e.kind_of? String
          typed_add(REXML::Document.new(e).root)
        else
          super
        end
      end
    end
  end
end

Version data entries

33 entries across 33 versions & 13 rubygems

Version Path
brontes3d-xmpp4r-0.4 lib/xmpp4r/rpc/iq/rpc.rb
bryanl-xmpp4r-0.3.2 lib/xmpp4r/rpc/iq/rpc.rb
edavey-xmpp4r-0.4.1 lib/xmpp4r/rpc/iq/rpc.rb
edavey-xmpp4r-0.4.2 lib/xmpp4r/rpc/iq/rpc.rb
edavey-xmpp4r-0.4 lib/xmpp4r/rpc/iq/rpc.rb
heipei-xmpp4r-0.3.2 lib/xmpp4r/rpc/iq/rpc.rb
ln-xmpp4r-0.5 lib/xmpp4r/rpc/iq/rpc.rb
mojodna-xmpp4r-0.4.0.2 lib/xmpp4r/rpc/iq/rpc.rb
mojodna-xmpp4r-0.4.0.3 lib/xmpp4r/rpc/iq/rpc.rb
seanohalpin-xmpp4r-0.4.1 lib/xmpp4r/rpc/iq/rpc.rb
xmpp4r-0.5.5 lib/xmpp4r/rpc/iq/rpc.rb
gmcmillan-xmpp4r-0.6.2 lib/xmpp4r/rpc/iq/rpc.rb
gmcmillan-xmpp4r-0.6.1 lib/xmpp4r/rpc/iq/rpc.rb
gmcmillan-xmpp4r-0.6 lib/xmpp4r/rpc/iq/rpc.rb
gmcmillan-xmpp4r-0.5 lib/xmpp4r/rpc/iq/rpc.rb
mad-p-xmpp4r-0.6.3 lib/xmpp4r/rpc/iq/rpc.rb
mad-p-xmpp4r-0.6.2 lib/xmpp4r/rpc/iq/rpc.rb
mad-p-xmpp4r-0.6.1 lib/xmpp4r/rpc/iq/rpc.rb
mad-p-xmpp4r-0.6.0 lib/xmpp4r/rpc/iq/rpc.rb
cerberus-0.8.0 lib/vendor/xmpp4r/lib/xmpp4r/rpc/iq/rpc.rb