Class: Crawlberg::DownloadedAsset
- Inherits:
-
Object
- Object
- Crawlberg::DownloadedAsset
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#asset_category ⇒ AssetCategory
readonly
Returns the value of attribute asset_category.
-
#content_hash ⇒ String
readonly
Returns the value of attribute content_hash.
-
#html_tag ⇒ String?
readonly
Returns the value of attribute html_tag.
-
#mime_type ⇒ String?
readonly
Returns the value of attribute mime_type.
-
#size ⇒ Integer
readonly
Returns the value of attribute size.
-
#url ⇒ String
readonly
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize ⇒ DownloadedAsset
constructor
A new instance of DownloadedAsset.
Constructor Details
#initialize ⇒ DownloadedAsset
Returns a new instance of DownloadedAsset.
251 |
# File 'sig/types.rbs', line 251
def initialize: (?url: String, ?content_hash: String, ?mime_type: String, ?size: Integer, ?asset_category: AssetCategory, ?html_tag: String) -> void
|
Instance Attribute Details
#asset_category ⇒ AssetCategory (readonly)
Returns the value of attribute asset_category.
248 249 250 |
# File 'sig/types.rbs', line 248 def asset_category @asset_category end |
#content_hash ⇒ String (readonly)
Returns the value of attribute content_hash.
245 246 247 |
# File 'sig/types.rbs', line 245 def content_hash @content_hash end |
#html_tag ⇒ String? (readonly)
Returns the value of attribute html_tag.
249 250 251 |
# File 'sig/types.rbs', line 249 def html_tag @html_tag end |
#mime_type ⇒ String? (readonly)
Returns the value of attribute mime_type.
246 247 248 |
# File 'sig/types.rbs', line 246 def mime_type @mime_type end |
#size ⇒ Integer (readonly)
Returns the value of attribute size.
247 248 249 |
# File 'sig/types.rbs', line 247 def size @size end |
#url ⇒ String (readonly)
Returns the value of attribute url.
244 245 246 |
# File 'sig/types.rbs', line 244 def url @url end |