Class: Zype::VideoImports
- Defined in:
- lib/zype/models/video_imports.rb
Overview
Read more at docs.zype.com/v1.0/reference#video-imports
Constant Summary
Constants inherited from BaseModel
Instance Attribute Summary
Attributes inherited from BaseModel
Instance Method Summary collapse
-
#add_video(id:) ⇒ Hash
Attach a video to a video import.
Methods inherited from BaseModel
#all, #auth=, #create, #delete, #find, #initialize, #update
Constructor Details
This class inherits a constructor from Zype::BaseModel
Instance Method Details
#add_video(id:) ⇒ Hash
Attach a video to a video import
16 17 18 |
# File 'lib/zype/models/video_imports.rb', line 16 def add_video(id:) client.execute(method: :put, path: "/#{path}/#{id}/add_video") end |