Module: Carbonyte::Concerns::Correlatable

Extended by:
ActiveSupport::Concern
Included in:
ApplicationController
Defined in:
app/controllers/carbonyte/concerns/correlatable.rb

Overview

The Correlatable concern automatically manages the correlation ID

Instance Method Summary collapse

Instance Method Details

#correlation_idObject

Retrieves the request correlation ID



18
19
20
# File 'app/controllers/carbonyte/concerns/correlatable.rb', line 18

def correlation_id
  RequestStore.store[:correlation_id]
end