Module: XRay::DummyEntity

Included in:
DummySegment, DummySubsegment
Defined in:
lib/aws-xray-sdk/model/dummy_entities.rb

Overview

defines common no-op methods for dummy segments/subsegments

Instance Method Summary collapse

Instance Method Details

#add_exception(exception:, remote: false) ⇒ Object



33
34
35
# File 'lib/aws-xray-sdk/model/dummy_entities.rb', line 33

def add_exception(exception:, remote: false)
  # no-op
end

#annotationsObject



13
14
15
# File 'lib/aws-xray-sdk/model/dummy_entities.rb', line 13

def annotations
  FacadeAnnotations
end

#apply_status_code(status:) ⇒ Object



21
22
23
# File 'lib/aws-xray-sdk/model/dummy_entities.rb', line 21

def apply_status_code(status:)
  # no-op
end

#aws=(v) ⇒ Object



37
38
39
# File 'lib/aws-xray-sdk/model/dummy_entities.rb', line 37

def aws=(v)
  # no-op
end

#merge_http_request(request:) ⇒ Object



25
26
27
# File 'lib/aws-xray-sdk/model/dummy_entities.rb', line 25

def merge_http_request(request:)
  # no-op
end

#merge_http_response(response:) ⇒ Object



29
30
31
# File 'lib/aws-xray-sdk/model/dummy_entities.rb', line 29

def merge_http_response(response:)
  # no-op
end

#metadata(namespace: :default) ⇒ Object



17
18
19
# File 'lib/aws-xray-sdk/model/dummy_entities.rb', line 17

def (namespace: :default)
  FacadeMetadata
end

#sampledObject



9
10
11
# File 'lib/aws-xray-sdk/model/dummy_entities.rb', line 9

def sampled
  false
end

#sampling_rule_name=(v) ⇒ Object



41
42
43
# File 'lib/aws-xray-sdk/model/dummy_entities.rb', line 41

def sampling_rule_name=(v)
  # no-op
end

#to_hObject



45
46
47
# File 'lib/aws-xray-sdk/model/dummy_entities.rb', line 45

def to_h
  # no-op
end

#to_jsonObject



49
50
51
# File 'lib/aws-xray-sdk/model/dummy_entities.rb', line 49

def to_json
  # no-op
end