Class: Superfaktura::CheckConnection

Inherits:
BaseApi
  • Object
show all
Defined in:
lib/superfaktura/check_connection.rb

Constant Summary

Constants inherited from BaseApi

BaseApi::SANDBOX_SUPERFAKTURA_URL, BaseApi::SUPERFAKTURA_URL

Class Method Summary collapse

Methods inherited from BaseApi

client, file, file_client, get, post, request, superfaktura_url

Class Method Details

.callObject



3
4
5
# File 'lib/superfaktura/check_connection.rb', line 3

def self.call
  Faraday.get('https://moja.superfaktura.sk/countries').status == 200
end