module Diffend::LocalContext::Diffend
Module responsible for building diffend information from local context
Constants
- API_VERSION
API version
- PLATFORM_TYPE
Platform
type ruby
Public Class Methods
call(config)
click to toggle source
Build diffend information
@param config [Diffend::Config]
@return [Hash]
# File lib/diffend/local_context/diffend.rb, line 21 def call(config) { 'api_version' => API_VERSION, 'environment' => config.env, 'project_id' => config.project_id, 'type' => PLATFORM_TYPE, 'version' => ::Diffend::VERSION }.freeze end