Sha256: 765c707bd562026bed71274c895f49899bb0f9c499799c63995b251024179ded

Contents?: true

Size: 719 Bytes

Versions: 74

Compression:

Stored size: 719 Bytes

Contents

# frozen_string_literal: true

module GitlabQuality
  module TestTooling
    module SystemLogs
      module LogTypes
        module Rails
          class ApiLog < Log
            include SharedFields::Exception
            include SharedFields::Meta

            def initialize(data)
              super('Rails API', data)
            end

            def summary_fields
              super.concat(
                [
                  :method,
                  :path,
                  :status,
                  :params,
                  :api_error
                ],
                exception_fields,
                meta_fields
              )
            end
          end
        end
      end
    end
  end
end

Version data entries

74 entries across 74 versions & 1 rubygems

Version Path
gitlab_quality-test_tooling-2.2.0 lib/gitlab_quality/test_tooling/system_logs/log_types/rails/api_log.rb
gitlab_quality-test_tooling-2.1.0 lib/gitlab_quality/test_tooling/system_logs/log_types/rails/api_log.rb
gitlab_quality-test_tooling-2.0.0 lib/gitlab_quality/test_tooling/system_logs/log_types/rails/api_log.rb
gitlab_quality-test_tooling-1.39.0 lib/gitlab_quality/test_tooling/system_logs/log_types/rails/api_log.rb
gitlab_quality-test_tooling-1.38.1 lib/gitlab_quality/test_tooling/system_logs/log_types/rails/api_log.rb
gitlab_quality-test_tooling-1.38.0 lib/gitlab_quality/test_tooling/system_logs/log_types/rails/api_log.rb
gitlab_quality-test_tooling-1.37.0 lib/gitlab_quality/test_tooling/system_logs/log_types/rails/api_log.rb
gitlab_quality-test_tooling-1.36.0 lib/gitlab_quality/test_tooling/system_logs/log_types/rails/api_log.rb
gitlab_quality-test_tooling-1.35.0 lib/gitlab_quality/test_tooling/system_logs/log_types/rails/api_log.rb
gitlab_quality-test_tooling-1.34.0 lib/gitlab_quality/test_tooling/system_logs/log_types/rails/api_log.rb
gitlab_quality-test_tooling-1.33.0 lib/gitlab_quality/test_tooling/system_logs/log_types/rails/api_log.rb
gitlab_quality-test_tooling-1.32.1 lib/gitlab_quality/test_tooling/system_logs/log_types/rails/api_log.rb
gitlab_quality-test_tooling-1.32.0 lib/gitlab_quality/test_tooling/system_logs/log_types/rails/api_log.rb
gitlab_quality-test_tooling-1.31.0 lib/gitlab_quality/test_tooling/system_logs/log_types/rails/api_log.rb
gitlab_quality-test_tooling-1.30.0 lib/gitlab_quality/test_tooling/system_logs/log_types/rails/api_log.rb
gitlab_quality-test_tooling-1.29.1 lib/gitlab_quality/test_tooling/system_logs/log_types/rails/api_log.rb
gitlab_quality-test_tooling-1.29.0 lib/gitlab_quality/test_tooling/system_logs/log_types/rails/api_log.rb
gitlab_quality-test_tooling-1.28.0 lib/gitlab_quality/test_tooling/system_logs/log_types/rails/api_log.rb
gitlab_quality-test_tooling-1.24.0 lib/gitlab_quality/test_tooling/system_logs/log_types/rails/api_log.rb
gitlab_quality-test_tooling-1.23.0 lib/gitlab_quality/test_tooling/system_logs/log_types/rails/api_log.rb