10
11
12
13
14
15
|
# File 'lib/jamm/healthcheck.rb', line 10
def self.ping(merchant: nil)
handler = Jamm::Client.handler(merchant: merchant)
Jamm::OpenAPI::HealthcheckApi.new(handler).ping
rescue Jamm::OpenAPI::ApiError => e
raise Jamm::ApiError.from_error(e)
end
|