Class: Atatus::CentralConfig::CacheControl Private
- Inherits:
-
Object
- Object
- Atatus::CentralConfig::CacheControl
- Defined in:
- lib/atatus/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
- #max_age ⇒ Object readonly private
- #must_revalidate ⇒ Object readonly private
- #no_cache ⇒ Object readonly private
- #no_store ⇒ Object readonly private
- #no_transform ⇒ Object readonly private
- #private ⇒ Object readonly private
- #proxy_revalidate ⇒ Object readonly private
- #public ⇒ Object readonly private
- #s_maxage ⇒ Object readonly private
Instance Method Summary collapse
-
#initialize(value) ⇒ CacheControl
constructor
private
A new instance of CacheControl.
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/atatus/central_config/cache_control.rb', line 24 def initialize(value) @header = value parse!(value) end |
Instance Attribute Details
#max_age ⇒ Object (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/atatus/central_config/cache_control.rb', line 29 def max_age @max_age end |
#must_revalidate ⇒ Object (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/atatus/central_config/cache_control.rb', line 29 def must_revalidate @must_revalidate end |
#no_cache ⇒ Object (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/atatus/central_config/cache_control.rb', line 29 def no_cache @no_cache end |
#no_store ⇒ Object (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/atatus/central_config/cache_control.rb', line 29 def no_store @no_store end |
#no_transform ⇒ Object (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/atatus/central_config/cache_control.rb', line 29 def no_transform @no_transform end |
#private ⇒ Object (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/atatus/central_config/cache_control.rb', line 29 def private @private end |
#proxy_revalidate ⇒ Object (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/atatus/central_config/cache_control.rb', line 29 def proxy_revalidate @proxy_revalidate end |
#public ⇒ Object (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/atatus/central_config/cache_control.rb', line 29 def public @public end |
#s_maxage ⇒ Object (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/atatus/central_config/cache_control.rb', line 29 def s_maxage @s_maxage end |