truemail-rb/truemail-rack

View on GitHub
app/truemail_server/services/environment.rb

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
# frozen_string_literal: true

module TruemailServer
  module Services
    class Environment
      def self.call
        {
          core: Truemail::VERSION,
          platform: `ruby -v`.chomp,
          version: TruemailServer::VERSION
        }.to_json
      end
    end
  end
end