Method: CentralIndex#postEntityVideoYoutube

Defined in:
lib/CentralIndex.rb

#postEntityVideoYoutube(entity_id, embed_code) ⇒ Object

With a known entity id, a YouTube video object can be added.

@param entity_id
@param embed_code
@return - the data from the api


2068
2069
2070
2071
2072
2073
# File 'lib/CentralIndex.rb', line 2068

def postEntityVideoYoutube( entity_id, embed_code)
  params = Hash.new
  params['entity_id'] = entity_id
  params['embed_code'] = embed_code
  return doCurl("post","/entity/video/youtube",params)
end