Pings the EOL API
Eol.ping ==> #<Eol::Ping:0x000000027ffcb8 @message="Success">
Returns:
Success or failure results
See Also:
28 29 30 31
# File 'lib/eol.rb', line 28 def self.ping response = get('/ping/1.0.json') response.code == 200 ? Eol::Ping.new(response['response']['message']) : bad_response(response) end