Module: KalturaFu::Entry::InstanceMethods
- Defined in:
- lib/kaltura_fu/entry/instance_methods.rb
Overview
Instance level methods for the Entry module.
Instance Method Summary collapse
-
#delete_entry(entry_id) ⇒ Boolean
Deletes a Kaltura entry.
Instance Method Details
#delete_entry(entry_id) ⇒ Boolean
Deletes a Kaltura entry. Unlike the base API delete method, this returns true/false based on success.
15 16 17 18 19 20 21 22 23 24 |
# File 'lib/kaltura_fu/entry/instance_methods.rb', line 15 def delete_entry(entry_id) KalturaFu.check_for_client_session begin KalturaFu.client.media_service.delete(entry_id) true rescue Kaltura::APIError => e false end end |