class

XMPP::JID

Inherits Reference / Object

Constructors

new(node : Nil | String, domain, resource)

ameba:disable Metrics/CyclomaticComplexity

Source
new(jid : String)

JID in standard format "node@domain/resource"

Source

Instance methods

bare

Returns a new JID with resource removed.

Source
domain
Source
full

Returns Full JID

Source
node
Source
resource
Source
to_s

Turn the JID into a string

  • ""
  • "domain"
  • "node@domain"
  • "domain/resource"
  • "node@domain/resource"

@return [String] the JID as a string

Source