Class: Yt::Models::AssetMetadata

Inherits:
Base
  • Object
show all
Defined in:
lib/yt/models/asset_metadata.rb

Overview

The AssetMetadata object specifies the metadata for an asset.

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ AssetMetadata


8
9
10
# File 'lib/yt/models/asset_metadata.rb', line 8

def initialize(options = {})
  @data = options[:data]
end

Instance Method Details

#custom_idString


16
17
18
# File 'lib/yt/models/asset_metadata.rb', line 16

def custom_id
  @data['customId']
end

#descriptionString


33
34
35
# File 'lib/yt/models/asset_metadata.rb', line 33

def description
  @data['description']
end

#notesString


27
28
29
# File 'lib/yt/models/asset_metadata.rb', line 27

def notes
  @data['notes']
end

#titleString


21
22
23
# File 'lib/yt/models/asset_metadata.rb', line 21

def title
  @data['title']
end