Class: Crawlberg::ResponseMeta
- Inherits:
-
Object
- Object
- Crawlberg::ResponseMeta
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#cache_control ⇒ String?
readonly
Returns the value of attribute cache_control.
-
#content_encoding ⇒ String?
readonly
Returns the value of attribute content_encoding.
-
#content_language ⇒ String?
readonly
Returns the value of attribute content_language.
-
#etag ⇒ String?
readonly
Returns the value of attribute etag.
-
#last_modified ⇒ String?
readonly
Returns the value of attribute last_modified.
-
#server ⇒ String?
readonly
Returns the value of attribute server.
-
#x_powered_by ⇒ String?
readonly
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.
428 |
# File 'sig/types.rbs', line 428
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? (readonly)
Returns the value of attribute cache_control.
422 423 424 |
# File 'sig/types.rbs', line 422 def cache_control @cache_control end |
#content_encoding ⇒ String? (readonly)
Returns the value of attribute content_encoding.
426 427 428 |
# File 'sig/types.rbs', line 426 def content_encoding @content_encoding end |
#content_language ⇒ String? (readonly)
Returns the value of attribute content_language.
425 426 427 |
# File 'sig/types.rbs', line 425 def content_language @content_language end |
#etag ⇒ String? (readonly)
Returns the value of attribute etag.
420 421 422 |
# File 'sig/types.rbs', line 420 def etag @etag end |
#last_modified ⇒ String? (readonly)
Returns the value of attribute last_modified.
421 422 423 |
# File 'sig/types.rbs', line 421 def last_modified @last_modified end |
#server ⇒ String? (readonly)
Returns the value of attribute server.
423 424 425 |
# File 'sig/types.rbs', line 423 def server @server end |
#x_powered_by ⇒ String? (readonly)
Returns the value of attribute x_powered_by.
424 425 426 |
# File 'sig/types.rbs', line 424 def x_powered_by @x_powered_by end |