Class: CSTM2::CareerVideo
- Inherits:
-
Object
- Object
- CSTM2::CareerVideo
- Defined in:
- lib/cstm2.rb
Overview
careervideo model family (cstm_vd_* keys)
Instance Method Summary collapse
- #analyse(**body) ⇒ Object
- #animate(**body) ⇒ Object
- #animate_status(id) ⇒ Object
- #cinematic(**body) ⇒ Object
- #cinematic_status(job_id) ⇒ Object
-
#initialize(client) ⇒ CareerVideo
constructor
A new instance of CareerVideo.
Constructor Details
#initialize(client) ⇒ CareerVideo
Returns a new instance of CareerVideo.
194 |
# File 'lib/cstm2.rb', line 194 def initialize(client) = @c = client |
Instance Method Details
#analyse(**body) ⇒ Object
196 |
# File 'lib/cstm2.rb', line 196 def analyse(**body) = @c.post('/v1/careervideo/analyse', body) |
#animate(**body) ⇒ Object
197 |
# File 'lib/cstm2.rb', line 197 def animate(**body) = @c.post('/v1/careervideo/animate', body) |
#animate_status(id) ⇒ Object
198 |
# File 'lib/cstm2.rb', line 198 def animate_status(id) = @c.get("/v1/careervideo/animate/status/#{URI.encode_www_form_component(id)}") |
#cinematic(**body) ⇒ Object
199 |
# File 'lib/cstm2.rb', line 199 def cinematic(**body) = @c.post('/v1/careervideo/cinematic', body) |
#cinematic_status(job_id) ⇒ Object
200 |
# File 'lib/cstm2.rb', line 200 def cinematic_status(job_id) = @c.get("/v1/careervideo/cinematic/status/#{URI.encode_www_form_component(job_id)}") |