Class: Kaltura::KalturaYahooSyndicationFeed

Inherits:
KalturaBaseSyndicationFeed show all
Defined in:
lib/kaltura_types.rb

Instance Attribute Summary collapse

Attributes inherited from KalturaBaseSyndicationFeed

#add_to_default_conversion_profile, #allow_embed, #categories, #created_at, #enforce_entitlement, #entries_order_by, #feed_content_type_header, #feed_url, #flavor_param_id, #id, #landing_page, #name, #partner_id, #player_uiconf_id, #playlist_id, #privacy_context, #status, #storage_id, #transcode_existing_content, #type, #updated_at, #use_category_entries

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#adult_contentObject

Returns the value of attribute adult_content.



15455
15456
15457
# File 'lib/kaltura_types.rb', line 15455

def adult_content
  @adult_content
end

#categoryObject

Returns the value of attribute category.



15454
15455
15456
# File 'lib/kaltura_types.rb', line 15454

def category
  @category
end

#feed_descriptionObject

feed description



15457
15458
15459
# File 'lib/kaltura_types.rb', line 15457

def feed_description
  @feed_description
end

#feed_landing_pageObject

feed landing page (i.e publisher website)



15459
15460
15461
# File 'lib/kaltura_types.rb', line 15459

def feed_landing_page
  @feed_landing_page
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



15462
15463
15464
15465
15466
15467
15468
15469
15470
15471
15472
15473
15474
15475
15476
# File 'lib/kaltura_types.rb', line 15462

def from_xml(xml_element)
  super
  if xml_element.elements['category'] != nil
    self.category = xml_element.elements['category'].text
  end
  if xml_element.elements['adultContent'] != nil
    self.adult_content = xml_element.elements['adultContent'].text
  end
  if xml_element.elements['feedDescription'] != nil
    self.feed_description = xml_element.elements['feedDescription'].text
  end
  if xml_element.elements['feedLandingPage'] != nil
    self.feed_landing_page = xml_element.elements['feedLandingPage'].text
  end
end