toptal/chewy

View on GitHub
lib/chewy/runtime.rb

Summary

Maintainability
A
0 mins
Test Coverage
require 'chewy/runtime/version'

module Chewy
  module Runtime
    def self.version
      Chewy.current[:chewy_runtime_version] ||= Version.new(Chewy.client.info['version']['number'])
    end
  end
end