Class: Kaltura::KalturaYahooDistributionProfile
- Inherits:
-
KalturaConfigurableDistributionProfile
- Object
- KalturaObjectBase
- KalturaDistributionProfile
- KalturaConfigurableDistributionProfile
- Kaltura::KalturaYahooDistributionProfile
- Defined in:
- lib/kaltura_plugins/kaltura_yahoo_distribution_client_plugin.rb
Instance Attribute Summary collapse
-
#contact_email ⇒ Object
Returns the value of attribute contact_email.
-
#contact_telephone ⇒ Object
Returns the value of attribute contact_telephone.
-
#ftp_host ⇒ Object
Returns the value of attribute ftp_host.
-
#ftp_password ⇒ Object
Returns the value of attribute ftp_password.
-
#ftp_path ⇒ Object
Returns the value of attribute ftp_path.
-
#ftp_username ⇒ Object
Returns the value of attribute ftp_username.
-
#process_feed ⇒ Object
Returns the value of attribute process_feed.
Attributes inherited from KalturaConfigurableDistributionProfile
#field_config_array, #item_xpaths_to_extend, #use_category_entries
Attributes inherited from KalturaDistributionProfile
#auto_create_flavors, #auto_create_thumb, #created_at, #delete_enabled, #distribute_trigger, #id, #name, #optional_asset_distribution_rules, #optional_flavor_params_ids, #optional_thumb_dimensions, #partner_id, #provider_type, #recommended_dc_for_download, #recommended_dc_for_execute, #recommended_storage_profile_for_download, #report_enabled, #required_asset_distribution_rules, #required_flavor_params_ids, #required_thumb_dimensions, #status, #submit_enabled, #sunrise_default_offset, #sunset_default_offset, #support_image_entry, #update_enabled, #updated_at
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#contact_email ⇒ Object
Returns the value of attribute contact_email.
84 85 86 |
# File 'lib/kaltura_plugins/kaltura_yahoo_distribution_client_plugin.rb', line 84 def contact_email @contact_email end |
#contact_telephone ⇒ Object
Returns the value of attribute contact_telephone.
83 84 85 |
# File 'lib/kaltura_plugins/kaltura_yahoo_distribution_client_plugin.rb', line 83 def contact_telephone @contact_telephone end |
#ftp_host ⇒ Object
Returns the value of attribute ftp_host.
82 83 84 |
# File 'lib/kaltura_plugins/kaltura_yahoo_distribution_client_plugin.rb', line 82 def ftp_host @ftp_host end |
#ftp_password ⇒ Object
Returns the value of attribute ftp_password.
81 82 83 |
# File 'lib/kaltura_plugins/kaltura_yahoo_distribution_client_plugin.rb', line 81 def ftp_password @ftp_password end |
#ftp_path ⇒ Object
Returns the value of attribute ftp_path.
79 80 81 |
# File 'lib/kaltura_plugins/kaltura_yahoo_distribution_client_plugin.rb', line 79 def ftp_path @ftp_path end |
#ftp_username ⇒ Object
Returns the value of attribute ftp_username.
80 81 82 |
# File 'lib/kaltura_plugins/kaltura_yahoo_distribution_client_plugin.rb', line 80 def ftp_username @ftp_username end |
#process_feed ⇒ Object
Returns the value of attribute process_feed.
85 86 87 |
# File 'lib/kaltura_plugins/kaltura_yahoo_distribution_client_plugin.rb', line 85 def process_feed @process_feed end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 |
# File 'lib/kaltura_plugins/kaltura_yahoo_distribution_client_plugin.rb', line 91 def from_xml(xml_element) super if xml_element.elements['ftpPath'] != nil self.ftp_path = xml_element.elements['ftpPath'].text end if xml_element.elements['ftpUsername'] != nil self.ftp_username = xml_element.elements['ftpUsername'].text end if xml_element.elements['ftpPassword'] != nil self.ftp_password = xml_element.elements['ftpPassword'].text end if xml_element.elements['ftpHost'] != nil self.ftp_host = xml_element.elements['ftpHost'].text end if xml_element.elements['contactTelephone'] != nil self.contact_telephone = xml_element.elements['contactTelephone'].text end if xml_element.elements['contactEmail'] != nil self.contact_email = xml_element.elements['contactEmail'].text end if xml_element.elements['processFeed'] != nil self.process_feed = xml_element.elements['processFeed'].text end end |