Class: Rubirai::XmlMessage

Inherits:
Message
  • Object
show all
Defined in:
lib/rubirai/messages/message.rb

Overview

The xml message type

Instance Attribute Summary collapse

Attributes inherited from Message

#bot, #type

Class Method Summary collapse

Methods inherited from Message

all_types, check_type, #to_h, to_message

Instance Attribute Details

#xmlString (readonly)

Returns the xml content.

Returns:

  • (String)

    the xml content



380
# File 'lib/rubirai/messages/message.rb', line 380

set_message :Xml, :xml

Class Method Details

.from(**kwargs) ⇒ Rubirai::XmlMessage

Options Hash (**kwargs):

  • :xml (String)

    the xml body

Returns:



380
# File 'lib/rubirai/messages/message.rb', line 380

set_message :Xml, :xml