Class: ModSpox::Messages::Incoming::Ping
- Defined in:
- lib/mod_spox/messages/incoming/Ping.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#server ⇒ Object
readonly
server of origin.
-
#string ⇒ Object
readonly
string.
Attributes inherited from Message
Instance Method Summary collapse
-
#initialize(raw, server, string) ⇒ Ping
constructor
A new instance of Ping.
Constructor Details
#initialize(raw, server, string) ⇒ Ping
Returns a new instance of Ping.
10 11 12 13 14 |
# File 'lib/mod_spox/messages/incoming/Ping.rb', line 10 def initialize(raw, server, string) super(raw) @server = server @string = string end |
Instance Attribute Details
#server ⇒ Object (readonly)
server of origin
7 8 9 |
# File 'lib/mod_spox/messages/incoming/Ping.rb', line 7 def server @server end |
#string ⇒ Object (readonly)
string
9 10 11 |
# File 'lib/mod_spox/messages/incoming/Ping.rb', line 9 def string @string end |