Class: Crawlberg::DownloadedDocument
- Inherits:
-
Object
- Object
- Crawlberg::DownloadedDocument
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#content_hash ⇒ String?
Returns the value of attribute content_hash.
-
#filename ⇒ String?
Returns the value of attribute filename.
-
#headers ⇒ Hash[String, String]?
Returns the value of attribute headers.
-
#mime_type ⇒ String?
Returns the value of attribute mime_type.
-
#size ⇒ Integer?
Returns the value of attribute size.
-
#url ⇒ String?
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize ⇒ DownloadedDocument
constructor
A new instance of DownloadedDocument.
Constructor Details
#initialize ⇒ DownloadedDocument
Returns a new instance of DownloadedDocument.
129 |
# File 'sig/types.rbs', line 129
def initialize: (?url: String, ?mime_type: String, ?size: Integer, ?filename: String, ?content_hash: String, ?headers: Hash[String, String]) -> void
|
Instance Attribute Details
#content_hash ⇒ String?
Returns the value of attribute content_hash.
126 127 128 |
# File 'sig/types.rbs', line 126 def content_hash @content_hash end |
#filename ⇒ String?
Returns the value of attribute filename.
125 126 127 |
# File 'sig/types.rbs', line 125 def filename @filename end |
#headers ⇒ Hash[String, String]?
Returns the value of attribute headers.
127 128 129 |
# File 'sig/types.rbs', line 127 def headers @headers end |
#mime_type ⇒ String?
Returns the value of attribute mime_type.
123 124 125 |
# File 'sig/types.rbs', line 123 def mime_type @mime_type end |
#size ⇒ Integer?
Returns the value of attribute size.
124 125 126 |
# File 'sig/types.rbs', line 124 def size @size end |
#url ⇒ String?
Returns the value of attribute url.
122 123 124 |
# File 'sig/types.rbs', line 122 def url @url end |