Sha256: 7131bf61e1c91520f4567e60f2d6832062bd7df4bc4ff651166d0ea73197d1ca

Contents?: true

Size: 164 Bytes

Versions: 7

Compression:

Stored size: 164 Bytes

Contents

module Superfaktura
  class CheckConnection < BaseApi
    def self.call
      Faraday.get('https://moja.superfaktura.sk/countries').status == 200
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
superfaktura-1 lib/superfaktura/check_connection.rb
superfaktura-0.9.6 lib/superfaktura/check_connection.rb
superfaktura-0.9.5 lib/superfaktura/check_connection.rb
superfaktura-0.9.4 lib/superfaktura/check_connection.rb
superfaktura-0.9.3 lib/superfaktura/check_connection.rb
superfaktura-0.9.2 lib/superfaktura/check_connection.rb
superfaktura-0.9.1 lib/superfaktura/check_connection.rb