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

#bodyObject

Returns the value of attribute body

Returns:

  • (Object)

    the current value of body



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

def body
  @body
end

#codeObject

Returns the value of attribute code

Returns:

  • (Object)

    the current value of code



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

def code
  @code
end

#headersObject

Returns the value of attribute headers

Returns:

  • (Object)

    the current value of headers



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

def headers
  @headers
end