Get preferences from /usr/cdrouter-data/etc/config.yml.

        :return: :class:`system.Preferences <system.Preferences>` object
        :rtype: system.Preferences

def get_preferences(self):
        """Get preferences from /usr/cdrouter-data/etc/config.yml.

        :return: :class:`system.Preferences <system.Preferences>` object
        :rtype: system.Preferences
        """
        schema = PreferencesSchema()
        resp = self.service.get(self.base+'preferences/')
        return self.service.decode(schema, resp)