Class: Chute::V2::Asset::Meta
- Inherits:
-
Object
- Object
- Chute::V2::Asset::Meta
- Defined in:
- lib/chute/v2/asset/meta.rb
Class Method Summary collapse
Class Method Details
.private(album_id, asset_id, meta) ⇒ Object
12 13 14 15 16 |
# File 'lib/chute/v2/asset/meta.rb', line 12 def private album_id, asset_id, = { metadata: } unless .has_key? :metadata Chute::Client.put "/v2/albums/#{album_id}/assets/#{asset_id}/meta/private", end |
.public(album_id, asset_id, meta) ⇒ Object
6 7 8 9 10 |
# File 'lib/chute/v2/asset/meta.rb', line 6 def public album_id, asset_id, = { metadata: } unless .has_key? :metadata Chute::Client.put "/v2/albums/#{album_id}/assets/#{asset_id}/meta/public", end |