Sha256: 1616e2fe6650e39dec5630204ebb61635aba4a90a6599d6a5bea7303bd3c1417

Contents?: true

Size: 433 Bytes

Versions: 10

Compression:

Stored size: 433 Bytes

Contents

module Blather
class Stanza

  # # Disco Base class
  #
  # Use Blather::Stanza::DiscoInfo or Blather::Stanza::DiscoItems
  class Disco < Iq::Query

    # Get the name of the node
    #
    # @return [String] the node name
    def node
      query[:node]
    end

    # Set the name of the node
    #
    # @param [#to_s] node the new node name
    def node=(node)
      query[:node] = node
    end
  end

end # Stanza
end # Blather

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
blather-0.4.15 lib/blather/stanza/disco.rb
shingara-blather-0.4.14 lib/blather/stanza/disco.rb
blather-0.4.14 lib/blather/stanza/disco.rb
blather-0.4.13 lib/blather/stanza/disco.rb
blather-0.4.12 lib/blather/stanza/disco.rb
blather-0.4.11 lib/blather/stanza/disco.rb
blather-0.4.10 lib/blather/stanza/disco.rb
shingara-blather-0.4.9 lib/blather/stanza/disco.rb
shingara-blather-0.4.8 lib/blather/stanza/disco.rb
blather-0.4.8 lib/blather/stanza/disco.rb