Module: Pixmatch::Client::Ping

Included in:
Pixmatch::Client
Defined in:
lib/pixmatch/client/ping.rb

Instance Method Summary collapse

Instance Method Details

#pingObject

Check whether the PixMatch server is running.



5
6
7
# File 'lib/pixmatch/client/ping.rb', line 5

def ping
  request(:get, 'rest', { method: :ping })
end