Class: Crawlberg::DownloadedDocument
- Inherits:
-
Object
- Object
- Crawlberg::DownloadedDocument
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#content_base64 ⇒ String?
Returns the value of attribute content_base64.
-
#content_hash ⇒ String?
Returns the value of attribute content_hash.
-
#content_path ⇒ String?
Returns the value of attribute content_path.
-
#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.
-
#truncated ⇒ Boolean?
Returns the value of attribute truncated.
-
#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.
136 |
# File 'sig/types.rbs', line 136
def initialize: (?url: String, ?mime_type: String, ?size: Integer, ?filename: String, ?content_hash: String, ?headers: Hash[String, String], ?truncated: bool, ?content_path: String, ?content_base64: String) -> void
|
Instance Attribute Details
#content_base64 ⇒ String?
Returns the value of attribute content_base64.
134 135 136 |
# File 'sig/types.rbs', line 134 def content_base64 @content_base64 end |
#content_hash ⇒ String?
Returns the value of attribute content_hash.
130 131 132 |
# File 'sig/types.rbs', line 130 def content_hash @content_hash end |
#content_path ⇒ String?
Returns the value of attribute content_path.
133 134 135 |
# File 'sig/types.rbs', line 133 def content_path @content_path end |
#filename ⇒ String?
Returns the value of attribute filename.
129 130 131 |
# File 'sig/types.rbs', line 129 def filename @filename end |
#headers ⇒ Hash[String, String]?
Returns the value of attribute headers.
131 132 133 |
# File 'sig/types.rbs', line 131 def headers @headers end |
#mime_type ⇒ String?
Returns the value of attribute mime_type.
127 128 129 |
# File 'sig/types.rbs', line 127 def mime_type @mime_type end |
#size ⇒ Integer?
Returns the value of attribute size.
128 129 130 |
# File 'sig/types.rbs', line 128 def size @size end |
#truncated ⇒ Boolean?
Returns the value of attribute truncated.
132 133 134 |
# File 'sig/types.rbs', line 132 def truncated @truncated end |
#url ⇒ String?
Returns the value of attribute url.
126 127 128 |
# File 'sig/types.rbs', line 126 def url @url end |