api_client.rb 228 Bytes Edit Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 13 # -*- encoding : utf-8 -*- class ApiClient API_URL = ENV['VLIBRAS_API_URL'] def self.check_status begin ApiClient::Client.post(ApiClient::API_URL) rescue return false end return true end end