Sha256: a555030456071a79022b60dbb48e6d627115d2a8eafa9dc5ef80a15faab174fa
Contents?: true
Size: 418 Bytes
Versions: 3
Compression:
Stored size: 418 Bytes
Contents
module ServiceTemplate class LogTransaction class << self def id Thread.current[:service_template_tid].nil? ? Thread.current[:service_template_tid] = SecureRandom.hex(10) : Thread.current[:service_template_tid] end def id=(id) Thread.current[:service_template_tid] = id end def clear Thread.current[:service_template_tid] = nil end end end end
Version data entries
3 entries across 3 versions & 1 rubygems