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.
120 |
# File 'sig/types.rbs', line 120
def initialize: (?gzip: bool, ?brotli: bool, ?min_size: Integer, ?quality: Integer) -> void
|
Instance Attribute Details
#brotli ⇒ Boolean?
Returns the value of attribute brotli.
116 117 118 |
# File 'sig/types.rbs', line 116 def brotli @brotli end |
#gzip ⇒ Boolean?
Returns the value of attribute gzip.
115 116 117 |
# File 'sig/types.rbs', line 115 def gzip @gzip end |
#min_size ⇒ Integer?
Returns the value of attribute min_size.
117 118 119 |
# File 'sig/types.rbs', line 117 def min_size @min_size end |
#quality ⇒ Integer?
Returns the value of attribute quality.
118 119 120 |
# File 'sig/types.rbs', line 118 def quality @quality end |
Class Method Details
.default ⇒ CompressionConfig
121 |
# File 'sig/types.rbs', line 121
def self.default: () -> CompressionConfig
|