---
title: "Asset"
description: "Asset"
url: "https://www.contentstack.com/docs/developers/sdks/content-delivery-sdk/ruby/reference/asset"
product: "Contentstack"
doc_type: "guide"
audience:
  - developers
  - admins
version: "current"
last_updated: "2026-09-13"
---

# Asset

## Asset

Asset class to fetch file details on Conentstack server.

## fetch

Fetch a particular asset using uid.

```
require "contentstack";

@stack = Contentstack::Client.new("api_key", "delivery_token", "environment");
@asset = @stack.asset("asset_uid").fetch;
```

## Asset

Contentstack Asset UID for this asset

Name of the asset.

URL to fetch/render the asset

Content Type for the asset. image/png, image/jpeg, application/pdf, video/mp4 etc.

Size of the asset.

Array of tags assigned to the asset.

Contentstack Asset UID for this asset

Name of the asset.

URL to fetch/render the asset

Content Type for the asset. image/png, image/jpeg, application/pdf, video/mp4 etc.

Size of the asset.

Array of tags assigned to the asset.

## Asset | Ruby Delivery SDK | Contentstack

The Asset class in the Ruby Delivery SDK fetches details of files stored on the Contentstack server, giving you access to media metadata and URLs.