/**
     * Enable a Ring account
     * @param self
     */
Enable a Ring account
@param self
Enable a Ring account @param self
pub fn enable_account(&self) {
        let dbus_msg = Message::new_method_call(self.ring_dbus, self.configuration_path,
                                                self.configuration_iface,
                                                "sendRegister");
        if !dbus_msg.is_ok() {
            error!("sendRegister call fails. Please verify daemon's API.");
            return;
        }
        let conn = Connection::get_private(BusType::Session);
        if !conn.is_ok() {
            return;
        }
        let dbus = conn.unwrap();
        let _ = dbus.send_with_reply_and_block(
            dbus_msg.unwrap().append2(self.account.id.clone(), true), 2000);
    }
pub fn enable_account ( & self ) { let dbus_msg = Message :: new_method_call ( self . ring_dbus , self . configuration_path , self . configuration_iface , " " ) ; if ! dbus_msg . is_ok ( ) { error ! ( " " ) ; return ; } let conn = Connection :: get_private ( BusType :: Session ) ; if ! conn . is_ok ( ) { return ; } let dbus = conn . unwrap ( ) ; let _ = dbus . send_with_reply_and_block ( dbus_msg . unwrap ( ) . append2 ( self . account . id . clone ( ) , true ) , 2000 ) ; }
Enable a Ring account
 @param self
Enable a Ring account @param self
&self