class XMPP::JID
- XMPP::JID
- Reference
- Object
Defined in:
xmpp/jid.crConstructors
- .new(node : Nil | String, domain, resource)
-
.new(jid : String)
JID in standard format "node@domain/resource"
Instance Method Summary
-
#bare
Returns a new JID with resource removed.
- #domain : String
-
#full
Returns Full JID
- #node : String | Nil
- #resource : String | Nil
-
#to_s
Turn the JID into a string
Constructor Detail
Instance Method Detail
def to_s
#
Turn the JID into a string
- ""
- "domain"
- "node@domain"
- "domain/resource"
- "node@domain/resource"
@return [String] the JID as a string