# frozen_string_literal: true module Bugscriber module Decorators class TrackDecorator class << self def create_body(type:, method:, started_at:, finished_at:, external_process_id:, payload:) { type: type, method: method, started_at: started_at, finished_at: finished_at, external_process_id: external_process_id, payload: payload, environment: Bugscriber.config.environment } end end end end end