Sha256: da2307131a99f821e2526a5491d340be0a1dd5f216630ffcf8991c3f7209929e

Contents?: true

Size: 306 Bytes

Versions: 8

Compression:

Stored size: 306 Bytes

Contents

module Katello
  module Resources
    module Candlepin
      class CandlepinPing < CandlepinResource
        class << self
          def ping
            response = get('/candlepin/status').body
            JSON.parse(response).with_indifferent_access
          end
        end
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
katello-4.15.0.rc2 app/lib/katello/resources/candlepin/candlepin_ping.rb
katello-4.15.0.rc1 app/lib/katello/resources/candlepin/candlepin_ping.rb
katello-4.14.1 app/lib/katello/resources/candlepin/candlepin_ping.rb
katello-4.14.0 app/lib/katello/resources/candlepin/candlepin_ping.rb
katello-4.14.0.rc3 app/lib/katello/resources/candlepin/candlepin_ping.rb
katello-4.14.0.rc2 app/lib/katello/resources/candlepin/candlepin_ping.rb
katello-4.14.0.rc1.1 app/lib/katello/resources/candlepin/candlepin_ping.rb
katello-4.14.0.rc1 app/lib/katello/resources/candlepin/candlepin_ping.rb