Class: Crawlberg::DownloadedAsset
- Inherits:
-
Object
- Object
- Crawlberg::DownloadedAsset
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#asset_category ⇒ AssetCategory?
Returns the value of attribute asset_category.
-
#content_hash ⇒ String?
Returns the value of attribute content_hash.
-
#html_tag ⇒ String?
Returns the value of attribute html_tag.
-
#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 ⇒ DownloadedAsset
constructor
A new instance of DownloadedAsset.
Constructor Details
#initialize ⇒ DownloadedAsset
Returns a new instance of DownloadedAsset.
302 |
# File 'sig/types.rbs', line 302
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?
Returns the value of attribute asset_category.
299 300 301 |
# File 'sig/types.rbs', line 299 def asset_category @asset_category end |
#content_hash ⇒ String?
Returns the value of attribute content_hash.
296 297 298 |
# File 'sig/types.rbs', line 296 def content_hash @content_hash end |
#html_tag ⇒ String?
Returns the value of attribute html_tag.
300 301 302 |
# File 'sig/types.rbs', line 300 def html_tag @html_tag end |
#mime_type ⇒ String?
Returns the value of attribute mime_type.
297 298 299 |
# File 'sig/types.rbs', line 297 def mime_type @mime_type end |
#size ⇒ Integer?
Returns the value of attribute size.
298 299 300 |
# File 'sig/types.rbs', line 298 def size @size end |
#url ⇒ String?
Returns the value of attribute url.
295 296 297 |
# File 'sig/types.rbs', line 295 def url @url end |