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.



16053
16054
16055
# File 'lib/kaltura_types.rb', line 16053

def adult_content
  @adult_content
end

#categoryObject

Returns the value of attribute category.



16052
16053
16054
# File 'lib/kaltura_types.rb', line 16052

def category
  @category
end

#feed_descriptionObject

feed description



16055
16056
16057
# File 'lib/kaltura_types.rb', line 16055

def feed_description
  @feed_description
end

#feed_landing_pageObject

feed landing page (i.e publisher website)



16057
16058
16059
# File 'lib/kaltura_types.rb', line 16057

def feed_landing_page
  @feed_landing_page
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



16060
16061
16062
16063
16064
16065
16066
16067
16068
16069
16070
16071
16072
16073
16074
# File 'lib/kaltura_types.rb', line 16060

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