class Kaltura::KalturaYahooDistributionProfile

Attributes

contact_email[RW]
contact_telephone[RW]
ftp_host[RW]
ftp_password[RW]
ftp_path[RW]
ftp_username[RW]
process_feed[RW]

Public Instance Methods

from_xml(xml_element) click to toggle source
# 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
process_feed=(val) click to toggle source
# File lib/kaltura_plugins/kaltura_yahoo_distribution_client_plugin.rb, line 87
def process_feed=(val)
        @process_feed = val.to_i
end