Class: Deimos::Tracing::MockSpan
- Inherits:
-
Object
- Object
- Deimos::Tracing::MockSpan
- Defined in:
- lib/deimos/tracing/mock.rb
Overview
Mock Span class
Instance Method Summary collapse
-
#get_tag(tag) ⇒ Object
:nodoc:.
-
#initialize ⇒ MockSpan
constructor
:nodoc:.
-
#set_tag(tag, value) ⇒ Object
:nodoc:.
Constructor Details
#initialize ⇒ MockSpan
:nodoc:
65 66 67 |
# File 'lib/deimos/tracing/mock.rb', line 65 def initialize @span = {} end |
Instance Method Details
#get_tag(tag) ⇒ Object
:nodoc:
75 76 77 |
# File 'lib/deimos/tracing/mock.rb', line 75 def get_tag(tag) @span[tag] end |
#set_tag(tag, value) ⇒ Object
:nodoc:
70 71 72 |
# File 'lib/deimos/tracing/mock.rb', line 70 def set_tag(tag, value) @span[tag] = value end |