Class: Spikard::CompressionConfig
- Inherits:
-
Object
- Object
- Spikard::CompressionConfig
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#brotli ⇒ Boolean?
Returns the value of attribute brotli.
-
#gzip ⇒ Boolean?
Returns the value of attribute gzip.
-
#min_size ⇒ Integer?
Returns the value of attribute min_size.
-
#quality ⇒ Integer?
Returns the value of attribute quality.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ CompressionConfig
constructor
A new instance of CompressionConfig.
Constructor Details
#initialize ⇒ CompressionConfig
Returns a new instance of CompressionConfig.
136 |
# File 'sig/types.rbs', line 136
def initialize: (?gzip: bool, ?brotli: bool, ?min_size: Integer, ?quality: Integer) -> void
|
Instance Attribute Details
#brotli ⇒ Boolean?
Returns the value of attribute brotli.
132 133 134 |
# File 'sig/types.rbs', line 132 def brotli @brotli end |
#gzip ⇒ Boolean?
Returns the value of attribute gzip.
131 132 133 |
# File 'sig/types.rbs', line 131 def gzip @gzip end |
#min_size ⇒ Integer?
Returns the value of attribute min_size.
133 134 135 |
# File 'sig/types.rbs', line 133 def min_size @min_size end |
#quality ⇒ Integer?
Returns the value of attribute quality.
134 135 136 |
# File 'sig/types.rbs', line 134 def quality @quality end |
Class Method Details
.default ⇒ CompressionConfig
137 |
# File 'sig/types.rbs', line 137
def self.default: () -> CompressionConfig
|