Sha256: 21182ce036b1de0b7dc9615c0e154f793fdb8bc2d71631bdffb6f97b69c66663
Contents?: true
Size: 839 Bytes
Versions: 4
Compression:
Stored size: 839 Bytes
Contents
# frozen_string_literal: true module Diffend # Module responsible for building local context module LocalContext # Module responsible for building diffend information from local context module Diffend # API version API_VERSION = '0.1' # Platform type ruby PLATFORM_TYPE = 0 private_constant :API_VERSION, :PLATFORM_TYPE class << self # Build diffend information # # @param project_id [String, nil] diffend project_id # # @return [Hash] def call(project_id) { 'api_version' => API_VERSION, 'environment' => ENV['DIFFEND_ENV'], 'project_id' => project_id, 'type' => PLATFORM_TYPE, 'version' => ::Diffend::VERSION }.freeze end end end end end
Version data entries
4 entries across 4 versions & 2 rubygems