Class: HostConnect::PingBuilder

Inherits:
AbstractBuilder show all
Defined in:
lib/hostconnect/builders/ping_builder.rb

Overview

The Ping request is provided as a simple way of determining whether hostConnect is alive. No arguments needed.

Instance Method Summary collapse

Methods inherited from AbstractBuilder

#submit, #to_s

Instance Method Details

#to_xmlObject



5
6
7
8
9
# File 'lib/hostconnect/builders/ping_builder.rb', line 5

def to_xml
  x = bare
  x.Request { x.PingRequest }
  x
end