Sha256: f32c2bd0bb9d2cb2ec5d0cdcaa1923c3e5a1e5f261c72843cff515206600e665

Contents?: true

Size: 604 Bytes

Versions: 3

Compression:

Stored size: 604 Bytes

Contents

# frozen_string_literal: true
json.ignore_nil!
json.exception args[:exception]
json.url args[:url]
json.method args[:method]
json.verifySsl verify_ssl
json.requestHeaders args.fetch(:headers, {})
json.responseHeaders args[:response].try(:headers)
json.requestBody payload
json.responseBody args[:response].try(:body).to_s.force_encoding('UTF-8')
json.sourceIp ip_address
json.eventName RestClient::Jogger.response_pattern
json.eventId event_id
json.timeElapsed time_elapsed
json.openTimeout open_timeout
json.readTimeout read_timeout
json.code args[:response].try(:code)
json.timestamp timestamp.iso8601

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rest-client-jogger-1.1.0 lib/rest_client/templates/response_logging_template.json.jbuilder
rest-client-jogger-1.0.1 lib/rest_client/templates/response_logging_template.json.jbuilder
rest-client-jogger-1.0.0 lib/rest_client/templates/response_logging_template.json.jbuilder