Sha256: b80db7b45401415d73f3c6e25acccc68f714bd4a983ddf21c074453f46b4836c
Contents?: true
Size: 518 Bytes
Versions: 10
Compression:
Stored size: 518 Bytes
Contents
module Zype # Read more at https://docs.zype.com/v1.0/reference#video-imports # # @since 0.12.0 class VideoImports < Zype::BaseModel %i[create update delete].each do |mtd| send(:define_method, mtd) do raise NoMethodError end end # Attach a video to a video import # # @param id [String] the ID of the video import # @return [Hash] the video import object def add_video(id:) client.execute(method: :put, path: "/#{path}/#{id}/add_video") end end end
Version data entries
10 entries across 10 versions & 1 rubygems