Class: ModSpox::Messages::Outgoing::Pong
- Inherits:
-
Object
- Object
- ModSpox::Messages::Outgoing::Pong
- Defined in:
- lib/mod_spox/messages/outgoing/Pong.rb
Instance Attribute Summary collapse
-
#server ⇒ Object
readonly
- server
-
server to send to.
-
#string ⇒ Object
readonly
- string
-
string.
Instance Method Summary collapse
-
#initialize(server, string) ⇒ Pong
constructor
Send a pong.
Constructor Details
#initialize(server, string) ⇒ Pong
Send a pong
10 11 12 13 |
# File 'lib/mod_spox/messages/outgoing/Pong.rb', line 10 def initialize(server, string) @server = server @string = string end |
Instance Attribute Details
#server ⇒ Object (readonly)
- server
-
server to send to
6 7 8 |
# File 'lib/mod_spox/messages/outgoing/Pong.rb', line 6 def server @server end |
#string ⇒ Object (readonly)
- string
-
string
8 9 10 |
# File 'lib/mod_spox/messages/outgoing/Pong.rb', line 8 def string @string end |