Class: ChartMogul::Ping

Inherits:
APIResource show all
Includes:
API::Actions::Custom
Defined in:
lib/chartmogul/ping.rb

Constant Summary

Constants inherited from APIResource

APIResource::BACKOFF_FACTOR, APIResource::INTERVAL, APIResource::INTERVAL_RANDOMNESS, APIResource::MAX_INTERVAL, APIResource::RETRY_EXCEPTIONS, APIResource::RETRY_STATUSES

Class Method Summary collapse

Methods included from API::Actions::Custom

#custom!, #custom_without_assign!, included

Methods inherited from APIResource

connection, handle_other_error, handle_request_error, handling_errors, set_resource_name, set_resource_path, set_resource_root_key

Class Method Details

.ping ⇒ Object



10
11
12
# File 'lib/chartmogul/ping.rb', line 10

def self.ping
  custom!(:get, '/v1/ping')
end