Class: Crawlberg::ResponseMeta
- Inherits:
-
Object
- Object
- Crawlberg::ResponseMeta
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#cache_control ⇒ String?
Returns the value of attribute cache_control.
-
#content_encoding ⇒ String?
Returns the value of attribute content_encoding.
-
#content_language ⇒ String?
Returns the value of attribute content_language.
-
#etag ⇒ String?
Returns the value of attribute etag.
-
#last_modified ⇒ String?
Returns the value of attribute last_modified.
-
#server ⇒ String?
Returns the value of attribute server.
-
#x_powered_by ⇒ String?
Returns the value of attribute x_powered_by.
Instance Method Summary collapse
-
#initialize ⇒ ResponseMeta
constructor
A new instance of ResponseMeta.
Constructor Details
#initialize ⇒ ResponseMeta
Returns a new instance of ResponseMeta.
347 |
# File 'sig/types.rbs', line 347
def initialize: (?etag: String, ?last_modified: String, ?cache_control: String, ?server: String, ?x_powered_by: String, ?content_language: String, ?content_encoding: String) -> void
|
Instance Attribute Details
#cache_control ⇒ String?
Returns the value of attribute cache_control.
341 342 343 |
# File 'sig/types.rbs', line 341 def cache_control @cache_control end |
#content_encoding ⇒ String?
Returns the value of attribute content_encoding.
345 346 347 |
# File 'sig/types.rbs', line 345 def content_encoding @content_encoding end |
#content_language ⇒ String?
Returns the value of attribute content_language.
344 345 346 |
# File 'sig/types.rbs', line 344 def content_language @content_language end |
#etag ⇒ String?
Returns the value of attribute etag.
339 340 341 |
# File 'sig/types.rbs', line 339 def etag @etag end |
#last_modified ⇒ String?
Returns the value of attribute last_modified.
340 341 342 |
# File 'sig/types.rbs', line 340 def last_modified @last_modified end |
#server ⇒ String?
Returns the value of attribute server.
342 343 344 |
# File 'sig/types.rbs', line 342 def server @server end |
#x_powered_by ⇒ String?
Returns the value of attribute x_powered_by.
343 344 345 |
# File 'sig/types.rbs', line 343 def x_powered_by @x_powered_by end |