class XMPP::JID
- XMPP::JID
- Reference
- Object
Defined in:
Constructors
- .new(node, 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?
- #resource : String?
-
#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