Class: ModSpox::Messages::Outgoing::Squery
- Inherits:
-
Object
- Object
- ModSpox::Messages::Outgoing::Squery
- Defined in:
- lib/mod_spox/messages/outgoing/Squery.rb
Instance Attribute Summary collapse
-
#message ⇒ Object
readonly
message to send to service.
-
#service_name ⇒ Object
readonly
service to query.
Instance Method Summary collapse
-
#initialize(service_name, message) ⇒ Squery
constructor
- service_name
- name of the service to query message
-
message to send to service Send message to a service.
Constructor Details
#initialize(service_name, message) ⇒ Squery
- service_name
-
name of the service to query
- message
-
message to send to service
Send message to a service
12 13 14 15 |
# File 'lib/mod_spox/messages/outgoing/Squery.rb', line 12 def initialize(service_name, ) @service_name = service_name @message = end |
Instance Attribute Details
#message ⇒ Object (readonly)
message to send to service
8 9 10 |
# File 'lib/mod_spox/messages/outgoing/Squery.rb', line 8 def @message end |
#service_name ⇒ Object (readonly)
service to query
6 7 8 |
# File 'lib/mod_spox/messages/outgoing/Squery.rb', line 6 def service_name @service_name end |