Class: Jaeger::Client::Carrier
- Inherits:
-
Object
- Object
- Jaeger::Client::Carrier
- Defined in:
- lib/jaeger/client/carrier.rb
Overview
Carriers are used for inject and extract operations. A carrier should be a Hash or hash-like object. At a minimum, it should implement ‘[]`, `[]=`, and `each` shown here.
Instance Method Summary collapse
-
#[](key) ⇒ String
-
retrieves a value by the given key.
-
#[]=(key, value) ⇒ Object
[]= sets the value for the given key.
-
#each {|key, value| ... } ⇒ Object
each iterates over every key-value pair in the carrier.
Instance Method Details
#[](key) ⇒ String
-
retrieves a value by the given key
10 11 |
# File 'lib/jaeger/client/carrier.rb', line 10 def [](key) end |
#[]=(key, value) ⇒ Object
[]= sets the value for the given key
16 17 |
# File 'lib/jaeger/client/carrier.rb', line 16 def []=(key, value) end |
#each {|key, value| ... } ⇒ Object
each iterates over every key-value pair in the carrier
23 24 |
# File 'lib/jaeger/client/carrier.rb', line 23 def each(&block) end |