Class: ElasticAPM::CentralConfig::CacheControl Private

Inherits:
Object
  • Object
show all
Defined in:
lib/elastic_apm/central_config/cache_control.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(value) ⇒ CacheControl

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of CacheControl.



24
25
26
27
# File 'lib/elastic_apm/central_config/cache_control.rb', line 24

def initialize(value)
  @header = value
  parse!(value)
end

Instance Attribute Details

#max_ageObject (readonly)

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



29
30
31
# File 'lib/elastic_apm/central_config/cache_control.rb', line 29

def max_age
  @max_age
end

#must_revalidateObject (readonly)

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



29
30
31
# File 'lib/elastic_apm/central_config/cache_control.rb', line 29

def must_revalidate
  @must_revalidate
end

#no_cacheObject (readonly)

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



29
30
31
# File 'lib/elastic_apm/central_config/cache_control.rb', line 29

def no_cache
  @no_cache
end

#no_storeObject (readonly)

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



29
30
31
# File 'lib/elastic_apm/central_config/cache_control.rb', line 29

def no_store
  @no_store
end

#no_transformObject (readonly)

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



29
30
31
# File 'lib/elastic_apm/central_config/cache_control.rb', line 29

def no_transform
  @no_transform
end

#privateObject (readonly)

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



29
30
31
# File 'lib/elastic_apm/central_config/cache_control.rb', line 29

def private
  @private
end

#proxy_revalidateObject (readonly)

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



29
30
31
# File 'lib/elastic_apm/central_config/cache_control.rb', line 29

def proxy_revalidate
  @proxy_revalidate
end

#publicObject (readonly)

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



29
30
31
# File 'lib/elastic_apm/central_config/cache_control.rb', line 29

def public
  @public
end

#s_maxageObject (readonly)

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



29
30
31
# File 'lib/elastic_apm/central_config/cache_control.rb', line 29

def s_maxage
  @s_maxage
end