Module: Bp3::Core::Rqid
Class Method Summary collapse
Instance Method Summary collapse
- #rqid_from_global_state ⇒ Object private
- #set_rqid ⇒ Object private
Class Method Details
.global_request_state_class ⇒ Object
10 11 12 |
# File 'lib/bp3/core/rqid.rb', line 10 def self.global_request_state_class @@global_request_state_class ||= global_request_state_class_name.constantize # rubocop:disable Style/ClassVars end |
Instance Method Details
#rqid_from_global_state ⇒ Object (private)
35 36 37 |
# File 'lib/bp3/core/rqid.rb', line 35 def rqid_from_global_state Bp3::Core::Rqid.global_request_state_class.send(Bp3::Core::Rqid.global_request_state_method) end |
#set_rqid ⇒ Object (private)
29 30 31 32 33 |
# File 'lib/bp3/core/rqid.rb', line 29 def set_rqid return if rqid self.rqid = rqid_from_global_state end |