Class: Fluent::Plugin::PrometheusInput::AsyncWrapper::Response

Inherits:
Struct
  • Object
show all
Defined in:
lib/fluent/plugin/in_prometheus/async_wrapper.rb

Instance Attribute Summary collapse

Instance Attribute Details

#body ⇒ Object

Returns the value of attribute body

Returns:

  • (Object) —

    the current value of body



20
21
22
# File 'lib/fluent/plugin/in_prometheus/async_wrapper.rb', line 20

def body
  @body
end

#code ⇒ Object

Returns the value of attribute code

Returns:

  • (Object) —

    the current value of code



20
21
22
# File 'lib/fluent/plugin/in_prometheus/async_wrapper.rb', line 20

def code
  @code
end

#headers ⇒ Object

Returns the value of attribute headers

Returns:

  • (Object) —

    the current value of headers



20
21
22
# File 'lib/fluent/plugin/in_prometheus/async_wrapper.rb', line 20

def headers
  @headers
end