Sha256: c617197133f585926ee071cfe4721f794e51fa97327658b6c568448fec8b3b30
Contents?: true
Size: 771 Bytes
Versions: 1
Compression:
Stored size: 771 Bytes
Contents
module Voog class API module MediaSets # List media_sets def media_sets(params = {}) get 'media_sets', {query: params} end # Get a single media_set def media_set(id, params = {}) get "media_sets/#{id}", {query: params} end # Create a media_set def create_media_set(data) post 'media_sets', data end # Update a media_set def update_media_set(id, data) put "media_sets/#{id}", data end # Delete a media_set def delete_media_set(id) delete "media_sets/#{id}" end # Add assets to media_set def media_set_add_assets(media_set_id, data) put "media_sets/#{media_set_id}/add_assets", data end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
voog_api-0.0.7 | lib/voog_api/api/media_sets.rb |